s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
s169011265
p03738
u600261652
1589089694
Python
Python (3.4.3)
py
Runtime Error
18
2940
89
A, B = map(int, input().split()) print("GREATER" if A<B else "EQUAL" if A==B else "LESS")
s552406714
p03738
u073139376
1588814005
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
A, B = int(input()) if A > B: print('GREATER') elif A < B: print('LESS') else: print('EQUAL')
s062770471
p03738
u798260206
1588645270
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
a,b = map(int,input().split()) if a>b: print("GREATER") elif a == b: print("EQUAL") else: print("LESS")
s637706462
p03738
u798260206
1588645186
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
a,b = map(int,input().split()) if a>b: print("GREATER") elif a == b: print("EQUAL") else: print("LESS")
s147290356
p03738
u798260206
1588645140
Python
Python (3.4.3)
py
Runtime Error
17
2940
115
a,b = map(int,input().split()) if a>b: print("GREATER") elif a = b: print("EQUAL") else: print("LESS")
s193636017
p03738
u702208001
1588642493
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
a, b = map(int, input().split()) print('GREATER' if a > b else 'LESS' if a < b else 'EQUAL')
s896515701
p03738
u193264896
1587600883
Python
Python (3.4.3)
py
Runtime Error
21
3316
294
import sys from collections import Counter readline = sys.stdin.buffer.readline MOD = 10**9+7 def main(): A, B = map(int, readline().split()) if A>B: print('GREATER') elif A<B: print('LESS') else: print('EQUAL') if __name__ == '__main__': main()
s037113796
p03738
u507116804
1587502745
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
A=int(input()) B=int(input()) if A=B: print("EQUAL") elif A>B: print("GREATER") else: print("LESS")
s606071737
p03738
u507116804
1587502705
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
A=int(input()) B=int(input()) if A=B: print("EQUAL") elif A>B: print("GREATER") else: print("LESS")
s356845279
p03738
u858670323
1587092667
Python
Python (3.4.3)
py
Runtime Error
18
2940
112
a,b = map(int,input().rstrip().split(' ')) if(a>b):print("GREATER") elif(a<b):print("LESS") else:print("EQUAL")
s808155823
p03738
u151625340
1586832658
Python
PyPy3 (2.4.0)
py
Runtime Error
182
38256
112
A,B = map(int,input().split()) if A>B: print('GREATER') elif A<B: print('LESS') else: print('EQUAL')
s293505207
p03738
u803617136
1586778190
Python
Python (3.4.3)
py
Runtime Error
17
3064
127
a = int(input()) b = int(input()) if a > b: ans = 'GREATER' elif a < b: ans = 'LESS' else: ans = 'EQUAL print(ans)
s553064312
p03738
u141610915
1586777532
Python
PyPy3 (2.4.0)
py
Runtime Error
163
38384
146
import sys input = sys.stdin.readline A, B = map(int, input().split()) if A < B: print("LESS") elif A == B: print("EQUAL") else: print("GREATER")
s610642990
p03738
u141610915
1586777466
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38256
107
A, B = map(int, input().split()) if A < B: print("LESS") elif A == B: print("EQUAL") else: print("GREATER")
s932038927
p03738
u970809473
1586553691
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
a = int(input()) b = int(intpu()) if a > b: print('GREATER') elif a < b: print('LESS') else: print('EQUAL')
s328324701
p03738
u373047809
1586405245
Python
Python (3.4.3)
py
Runtime Error
17
3064
113
s = open(0).read() def t(c): return eval(s.replace("\n",c)) print([["LESS","GREATER"][t(">")], "EQUAL"][t("==")])
s031436926
p03738
u373047809
1586405169
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
s = open(0).read() def t(c): return eval(s.replace("\n",c)) print([["LESS","GREATER"][t(">")], "EQUAL"][t("==")])
s833307763
p03738
u373047809
1586405128
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
s = open(0).read() def t(c): return eval(s.replace("\n",c)) print([["LESS","GREATER"][t(">")], "EQUAL"][t("==")])
s341041636
p03738
u363836311
1586294131
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
a=int(input()) b=int(input()) if a<b: print('LESS') elif a=b: print('EQUAL') else: print('GREATER')
s804295268
p03738
u440161695
1586116913
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
a=int(input()) b=int(input()) print("GREATER", if a>b else "LESS" if a<b else "EQUAL")
s614879387
p03738
u863370423
1585677893
Python
Python (3.4.3)
py
Runtime Error
18
2940
134
A = int(input()) B - int(input()) if (A > B): print("GREATER") elif (A < B): print("LESS") elif (A == B): print("EQUAL")
s426560814
p03738
u089230684
1585534369
Python
Python (3.4.3)
py
Runtime Error
17
2940
369
#include <bits/stdc++.h> using namespace std; int main() { string s, t; cin >> s >> t; int n = s.length(); int m = s.length(); if(n > m) { printf("GREATER"); } else if(n < m) { printf("LESS"); } else { if(s > t) { printf("GREATER"); } else if(s < t) { printf("LESS"); } else { printf("EQUAL"); } } }
s977721756
p03738
u816631826
1585534094
Python
Python (3.4.3)
py
Runtime Error
17
3060
128
a, b = (input().split()) a = int(a) b = int(b) if(a > b): print("GREATER") elif(a < b): print("LESS") else: print("EQUAL")
s561543217
p03738
u018679195
1585534048
Python
Python (3.4.3)
py
Runtime Error
17
3060
131
a, b = (input().split(" ")) a = int(a) b = int(b) if(a > b): print("GREATER") elif(a < b): print("LESS") else: print("EQUAL")
s299148621
p03738
u478266845
1585415320
Python
Python (3.4.3)
py
Runtime Error
18
3064
459
A = int(input()) B = int(input()) A_s =str(A) B_s = str(B) if len(A_s) > len(B_s): print("GREATER") elif len(A_s) < len(B_s): print("LESS") else: for i in range(len(A_s)): if A_s[i] > B_s[i]: print("GREATER") break elif A_s[i] < B_s[i]: print("LESS") break elif (A[i] == B[i]) & (i == len(A_s)-1): print("EQUAL") break
s155638007
p03738
u478266845
1585415230
Python
Python (3.4.3)
py
Runtime Error
17
3064
451
A = int(input()) B = int(input()) A_s =str(A) B_s = str(B) if len(A_s) > len(B_s): print("GREATER") elif len(A_s) < len(B_s): print("LESS") else: for i in range(len(A_s)): if A[i] > B[i]: print("GREATER") break elif A[i] < B[i]: print("LESS") break elif (A[i] == B[i]) & (i == len(A_s)-1): print("EQUAL") break
s913351490
p03738
u676645714
1585328170
Python
Python (3.4.3)
py
Runtime Error
17
2940
115
n1 = int(input()) n2 = int(input()) if A > B: print("GREATER") elif A < B: print("LESS") else: print("EQUAL")
s910865455
p03738
u016323272
1585073618
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
#ABC059.B A = int(input()) B = int(input()) if A > B: print('GREATER') elif A == B print('EQUAL') else: print('LESS')
s658400823
p03738
u766566560
1585022064
Python
Python (3.4.3)
py
Runtime Error
17
2940
114
A, B = map(int, input().split()) if A == B: print('EQUAL') elif A > B: print('GREATER') else: print('LESS')
s086133195
p03738
u731665172
1585012893
Python
Python (3.4.3)
py
Runtime Error
18
2940
89
A,B=map(int,input().split()) print('GREATER' if (A-B)>0 else 'EQUAL' if A==B else 'LESS')
s783484016
p03738
u277448038
1584886547
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
a, b = int(input()) print('GREATER') if a>b else print('LESS') if b>a else print('EQUAL')
s560726680
p03738
u697696097
1583732058
Python
Python (3.4.3)
py
Runtime Error
17
2940
323
import sys a=input().strip() b=input().strip() if a==b: print("EQUAL") elif len(a)>len(b): print("GREATER") elif len(b)>len(a): print("LESS") else: #same len for i in range(len(a)): if int(a[i])>int(b[i]) print("GREATER") sys.exit() elif int(a[i])<int(b[i]) print("LESS") sys.exit()
s074000272
p03738
u757030836
1583243303
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
a,b = map(int,input().split()) if a>b: print("GREATER") elif a==b: print("EQUAL") else: print("LESS")
s493386791
p03738
u767995501
1583218997
Python
Python (3.4.3)
py
Runtime Error
18
3064
84
a,b=map(int,input().split()) print("GREATER" if a>b else "LESS" if a<b else "EQUAL")
s242484581
p03738
u767995501
1583218236
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
a,b=map(int,input().split()) print("GREATER" if a>b else "LESS" if a<b else "EQUAL")
s206763970
p03738
u606523772
1582852445
Python
Python (3.4.3)
py
Runtime Error
17
3060
117
A, B = map(int, input().split()) if A > B: print("GREATER") elif A==B: print("EQUAL") else: print("LESS")
s938926930
p03738
u914330401
1582344732
Python
Python (3.4.3)
py
Runtime Error
18
2940
114
a, b = map(int, input().split()) if a > b: print("GREATER") elif a == b: print("EQUAL") else: print("LESS")
s321461505
p03738
u681444474
1582131174
Python
PyPy3 (2.4.0)
py
Runtime Error
176
38384
423
# coding: utf-8 a=int(input()) b=int(input()) la=len(str(a)) lb=len(str(b)) if la>lb: print('GREATER') elif la<lb: print('LESS') else: for i in range(la): if int(str(a)[i])>int(str(b)[i]): print('GREATER') Flg=False break elif int(str(a)[i])<int(str(b)[i]): print('LESS') Flg=False break if Flg: print('EQUAL')
s855342263
p03738
u810066979
1581660708
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
a=int(input()) b=int(input()) if a>b: print("GREATER") else if a==b: print("LESS") else: print("EQUAL")
s265223593
p03738
u533885955
1581380911
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
A,B = map(int,input().split()) if A > B: print("GREATER") elif A < B: print("LESS") else: print("EQUAL")
s208984607
p03738
u127499732
1581133096
Python
Python (3.4.3)
py
Runtime Error
17
3060
104
a,b=map(int,input().split()) if a>b: print("GREATER") elif a<b: print("LESS") else: print("EQUAL")
s503843373
p03738
u854612823
1580792831
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
A = int(input()) B = int(input()) print ('GREATER' if A>B, 'LESS' if A<B, else 'EQUAL')
s534142813
p03738
u171065106
1580522689
Python
Python (3.4.3)
py
Runtime Error
17
2940
127
a, b = map(int, input().split()) if a > b: print("GREATER") elif a < b: print("LESS") elif a == b: print("EQUAL")
s939485015
p03738
u171065106
1580522633
Python
Python (3.4.3)
py
Runtime Error
17
2940
124
a, b = map(int, input().split()) if a > b: print("GREATER") elif a < b: print("LESS") elif a == b: print("EQUAL")
s689500538
p03738
u171065106
1580522577
Python
Python (3.4.3)
py
Runtime Error
17
3064
136
a, b = map(int(input().split()) if a > b: print("GREATER") elif a < b: print("LESS") elif a == b: print("EQUAL")
s474258798
p03738
u686036872
1579515540
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
A = int(input()) B = int(input()) if A > B: print("GREATER") elif A=B: print("EQUAL") else: print("LESS")
s968655838
p03738
u287880059
1579299343
Python
Python (3.4.3)
py
Runtime Error
17
3060
113
a,b = map(int,input().split()) if a >b: print("GREATER") elif a <b: print("LESS") elif a==b: print("EQUAL")
s513897485
p03738
u162911959
1578436346
Python
Python (3.4.3)
py
Runtime Error
18
2940
85
a,b =map(int,input().split()) print("GREATER" if a>b else "LESS" if a<b else "equal")
s452495881
p03738
u735008991
1578175428
Python
Python (3.4.3)
py
Runtime Error
19
3188
88
A,B = map(int, input().split()) print("EQUAL" if A==B else "GREATER" if A>B else "LESS")
s665456659
p03738
u998082063
1577927104
Python
Python (3.4.3)
py
Runtime Error
17
2940
115
a = int(input) b = int(input) if a < b: print("LESS") elif a > b: print("GREATER") else: print("EQUAL")
s352009899
p03738
u243572357
1577604592
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
a = int(input()) b = int(input()) print('GREATER' if a>b else 'EQUAL' if a==b else 'LESS' if a<b)
s180907599
p03738
u134181243
1576982339
Python
Python (3.4.3)
py
Runtime Error
17
2940
532
#include<bits/stdc++.h> using namespace std; using ll=long long; void solve(){ string a,b; cin>>a>>b; if(a.size()!=b.size()){ if(a.size()>b.size()){ cout<<"GREATER"<<endl; } else if (a.size()<b.size()){ cout<<"LESS"<<endl; } else{ cout<<"EQUAL"<<endl; } } else{ for(int i=0; i<a.size(); i++){ if(a[i]>b[i]){ cout<<"GREATER"<<endl; return; } else if(a[i]<b[i]){ cout<<"LESS"<<endl; return; } } cout<<"EQUAL"<<endl; return; } } signed main(){ //while(1) solve(); }
s864891936
p03738
u417014669
1576771523
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
a,b=map(int,input().split()) if a>b: print("GREATER") if a<b: print("LESS") if a==b: print("EQUAL")
s952830386
p03738
u116328320
1576362091
Python
Python (3.4.3)
py
Runtime Error
17
2940
1209
fn main() { let a = read::<String>().chars().collect::<Vec<_>>(); let b = read::<String>().chars().collect::<Vec<_>>(); if a.len() > b.len() { println!("GREATER"); return; } else if a.len() < b.len() { println!("LESS"); return; } else { for i in 0..a.len() { if a[i] > b[i] { println!("GREATER"); return; } else if a[i] < b[i] { println!("LESS"); return; } else { continue; } } } println!("EQUAL"); } #[allow(dead_code)] fn read<T: std::str::FromStr>() -> T { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.trim().parse().ok().unwrap() } #[allow(dead_code)] fn read_vec<T: std::str::FromStr>() -> Vec<T> { read::<String>() .split_whitespace() .map(|e| e.parse().ok().unwrap()) .collect() } #[allow(dead_code)] fn read_vec2<T: std::str::FromStr>(n: u32) -> Vec<Vec<T>> { (0..n).map(|_| read_vec()).collect() } #[allow(dead_code)] fn yn(result: bool) { if result { println!("Yes"); } else { println!("No"); } }
s312976721
p03738
u994521204
1576247482
Python
Python (3.4.3)
py
Runtime Error
17
3060
105
a,b=map(int,input().split()) if a>b: print('GREATER') elif a==b: print('EQUAL') else: print('LESS')
s403086923
p03738
u994521204
1576247307
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
a,b=map(int,input().split()) if a>b:print('GREATER') elif a==b:print('EQUAL') else:print('LESS')
s938850795
p03738
u994521204
1576247271
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
a,b=map(int,input()) if a>b:print('GREATER') elif a==b:print('EQUAL') else:print('LESS')
s445351566
p03738
u780475861
1575665233
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a,b = int(input()), int(input()) print('GREATER' if a>b or 'LESS')
s177831224
p03738
u963903527
1575371953
Python
Python (3.4.3)
py
Runtime Error
17
2940
1737
#include <bits/stdc++.h> #define rep(i, n) for (int i=0; i<n; ++i) #define rep1(i, n) for (int i=1; i<=n; ++i) #define ALL(v) v.begin(), v.end() #define RALL(v) v.rbegin(), v.rend() #define EPS (1e-7) #define INF (1e9) #define PI (acos(-1)) using namespace std; typedef long long ll; typedef pair<ll, ll> P; constexpr ll MOD = (1e9+7); constexpr int gcd(int a, int b) { return b ? gcd(b, a % b) : a; } constexpr int lcm(int a, int b) { return a / gcd(a, b) * b; } template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } ll factorial(ll n, ll m=2) { // calculate n! m = max(2LL, m); ll rtn = 1; for (ll i=m; i<=n; i++) { rtn = (rtn * i) % MOD; } return rtn; } ll modinv(ll a, ll m) { ll b = m, u = 1, v = 0; while (b) { ll t = a / b; a -= t * b; swap(a, b); u -= t * v; swap(u, v); } u %= m; if (u < 0) u += m; return u; } ll modpow(ll a, ll n) { ll res = 1; while (n > 0) { if (n & 1) res = res * a % MOD; a = a * a % MOD; n >>= 1; } return res; } int main() { cin.tie(0); ios::sync_with_stdio(0); string a, b; cin >> a >> b; if (a.size() > b.size()) { cout << "GREATER" << endl; } else if (a.size() < b.size()) { cout << "LESS" << endl; } else { rep(i, a.size()) { if (a[i] > b[i]) {puts("GREATER"); return 0;} else if (a[i] < b[i]) {puts("LESS"); return 0;} } puts("EQUAL"); } return 0; }
s104517753
p03738
u799691369
1575230530
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
A, B = map(int, input().split()) if A > B: print('GREATER') elif A < B: print('LESS') else: print('EQUAL')
s345019755
p03738
u999893056
1574173006
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
A = int(input()) B = int(input()) print('GREATER' if A>B else 'LESS' if b>a else 'EQUAL' )
s068355797
p03738
u134712256
1572641092
Python
Python (3.4.3)
py
Runtime Error
17
3064
438
n = int(input()) a = [int(i) for i in input().split()] s0 = a[0] count=0 if a[0]==0: s0+=1 count+=1 for i in range(1,n): s1 = s0+a[i] if s0*s1>=0: if s1>0: a[i]-=(abs(s1)+1) count+=(abs(s1)+1) elif s1<0: a[i]+=(abs(s1)+1) count+=(abs(s1)+1) elif s1==0: if s0>0: a[i]-=1 count+=1 elif s0<0: a[i]+=1 count+=1 else:break s0 += a[i] print(count)
s295657726
p03738
u593590006
1571647454
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38640
110
a,b=map(int,input().split()) if a>b: print('GREATER') elif a<b: print('LESS') else: print('EQUAL')
s360705775
p03738
u403986473
1570666214
Python
Python (3.4.3)
py
Runtime Error
17
3064
353
A = int(input()) B = int(input()) import sys if len(str(A))>len(str(B)): print('GREATER') sys.exit() elif len(str(A))<len(str(B)): print('LESS') sys.exit() else: for a,b in zip(A,B): if a>b: print('GREATER') sys.exit() elif a<b: print('LESS') sys.exit() print('EQUAL')
s042779344
p03738
u089376182
1569676888
Python
Python (3.4.3)
py
Runtime Error
17
3064
84
a = input() b = input() print('GREATER' if a>b else if 'LESS' if a<b else 'EQUAL')
s744251643
p03738
u089376182
1569676813
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
a = int(input()) b = int(input()) print('GREATER' if a>b else if 'LESS' if a<b else 'EQUAL')
s566459859
p03738
u883232818
1569557880
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
A = int(input()) B = int(input()) print('LESS' if A < B else 'GREATER' A > B else 'EQUAL')
s815287238
p03738
u046313635
1569112555
Python
Python (3.4.3)
py
Runtime Error
19
3316
91
a, b = map(int,input().split()) print("GREATER" if a > b else "LESS" if a < b else "EQUAL")
s940119168
p03738
u215743476
1569094472
Python
Python (3.4.3)
py
Runtime Error
17
2940
171
#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; if(a>b) cout << "GREATER" << endl; else cout << "LESS" << endl; return 0; }
s057684804
p03738
u408791346
1568936229
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
a = int(input()) b = int(input()) if a > b: print('GREATER') elif a < b: print('LESS') else: a == b: print('EQUAL')
s223780958
p03738
u580362735
1568073216
Python
Python (3.4.3)
py
Runtime Error
19
2940
110
A,B = map(int,input().split()) if A > B: print('GREATER') elif B < A: print('LESS') else: print('EQUAL')
s914975918
p03738
u395202850
1567507504
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
a, b = map(int, input().split()) print("GREATER" if a > b else "LESS" if a < b else "EQUAL")
s423392617
p03738
u784341473
1567310584
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
a,b=map(int, input().split()) print('GREATER' if(a>b) else 'LESS' if(b<a) else 'EQUAL')
s577424026
p03738
u440566786
1567023041
Python
PyPy3 (2.4.0)
py
Runtime Error
181
38512
100
a,b = map(int,input().split()) print("GREATER") if a>b else print("LESS") if a<b else print("EQUAL")
s743625566
p03738
u456353530
1566775020
Python
Python (3.4.3)
py
Runtime Error
18
2940
115
A = int(input()) B = Int(input()) if A == B: print("EQUAL") elif A > B: print("GREATER") else: print("LESS")
s197332851
p03738
u518987899
1566685628
Python
Python (3.4.3)
py
Runtime Error
17
2940
122
A,B = map(int, input().strip().split(' ')) if A > B: print('GREATER') elif A < B: print('LESS') else: print('EQUAL')
s882774852
p03738
u798316285
1565927701
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
a,b=map(int,input().split()) print("GRATER" if a>b else "LESS" if a<b else "EQUAL")
s095821478
p03738
u037221289
1565839888
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
A,B = map(int,input().split(' ')) if A > B: print('GREATER') elif B > A: print('LESS') else: print('EQUAL')
s147560219
p03738
u248670337
1565802050
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
a=int(input()) b=int(input()) print("LESS" if a<b else "GREATER" else "EQUAL")
s007859926
p03738
u256464928
1565753207
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
a = int(input()) b = int(input()) print("GREATER" if a > b else "LESS" a < b else "EQUAL")
s527194068
p03738
u256464928
1565753154
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
a,b = map(int,input().split()) print("GREATER" if a > b else "LESS" a < b else "EQUAL")
s748567294
p03738
u602677143
1565575688
Python
Python (3.4.3)
py
Runtime Error
18
2940
122
a,b = int(input()) b = int(input()) if a == b: print("EQUAL") elif a > b: print("GREATER") else: print("LESS")
s934927222
p03738
u978494963
1564622436
Python
PyPy3 (2.4.0)
py
Runtime Error
178
38384
114
a = int(input()) b ^ int(input()) if a == b: print("EQUAL") elif a > b: print("LESS") else: print("GREATER")
s846524621
p03738
u170324846
1563316498
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38640
117
A = int(input()) B = int(input()) if A > B: print("GREATER") else if A < B: print("LESS") else: print("EQUAL")
s532444942
p03738
u927534107
1562766482
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
a,b=map(int,input().split()) if a>b:print("GREATER") elif a<b:print("LESS") else:print("EQUAL")
s909960057
p03738
u375500286
1561949357
Python
Python (3.4.3)
py
Runtime Error
17
2940
121
a=int(input()) b=int(input()) if a>b: print("GREATER") else if a<b: print("LESS") else if a==b: print("EQUAL")
s301468721
p03738
u375500286
1561949306
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
a=input() b=input() if a>b: print("GREATER") else if a<b: print("LESS") else if a==b: print("EQUAL")
s361337156
p03738
u545022164
1560715132
Python
Python (3.4.3)
py
Runtime Error
17
2940
2546
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <algorithm> #include <utility> #include <functional> #include <cstring> #include <queue> #include <stack> #include <math.h> #include <iterator> #include <vector> #include <string> #include <set> #include <math.h> #include <iostream> #include <random> #include<map> #include <iomanip> #include <time.h> #include <stdlib.h> #include <list> #include <typeinfo> #include <list> #include <set> #include <cassert> #include<fstream> #include <unordered_map> #include <cstdlib> #include <complex> using namespace std; #define Ma_PI 3.141592653589793 #define eps 0.00000001 #define LONG_INF 3000000000000000000 #define GOLD 1.61803398874989484820458 #define MAX_MOD 1000000007 #define MOD 998244353 #define REP(i,n) for(long long i = 0;i < n;++i) #define seg_size 524288 double dot(complex<double> a, complex<double> b) { return a.real() * b.real() + a.imag() * b.imag(); } double gyaku_dot(complex<double> a, complex<double> b) { return a.real() * b.imag() - a.imag() * b.real(); } double leng(complex<double> a) { return sqrt(a.real() * a.real() + a.imag() * a.imag()); } double angles(complex<double> a, complex<double> b) { double cosine = dot(a, b) / (leng(a) * leng(b)); double sine = gyaku_dot(a, b) / (leng(a) * leng(b)); double kaku = acos(cosine); if (sine <= 0) { kaku = 2 * Ma_PI - kaku; } return kaku; } vector<int> convex_hull(vector<complex<double>> a) { vector<int> ans; double now_minnest = a[0].real(); int now_itr = 0; REP(i, a.size()) { if (now_minnest > a[i].real()) { now_minnest = a[i].real(); now_itr = i; } } ans.push_back(now_itr); complex<double> ba(0, 1); while (true) { int now_go = 0; double now_min = 0; int starter = ans[ans.size() - 1]; for (int i = 0; i < a.size(); ++i) { if (i != starter) { double goa = angles(ba, a[i] - a[starter]); if (goa > now_min) { now_min = goa; now_go = i; } } } if (now_go == ans[0]) break; ans.push_back(now_go); ba = complex<double>(a[now_go] - a[starter]); } return ans; } long long gcd(long long a, long long b) { if (b == 0) return a; return gcd(b, a % b); } int main() { string a, b; cin >> a >> b; if (a.length() < b.length()) { cout << "LESS" << endl; } else if (a.length() > b.length()) { cout << "GREATER" << endl; } else { REP(q, a.length()) { if (a[q] > b[q]) { cout << "GREATER" << endl; return 0; } else if (a[q] < b[q]) { cout << "LESS" << endl; return 0; } } cout << "EQUAL" << endl; } }
s167080032
p03738
u030992242
1560372984
Python
Python (3.4.3)
py
Runtime Error
150
12440
347
import numpy as np def main(): a=inputList() if(a[0]>a[1]): print("GREATER") elif(a[0]<a[1]): print("LESS") else: print("EQUAL") def inputList(): a=list(map(int,input().split())) return a def multisort(li,index): return sorted(li,key=lambda x: x[index]) if(__name__=='__main__'): main()
s864950565
p03738
u239316561
1560360045
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
a = int(input()) b = int(input()) if a > b: print('GREATER') elif a = b: print('EQUAL') else: print('LESS')
s131040527
p03738
u102461423
1560321085
Python
Python (3.4.3)
py
Runtime Error
17
2940
145
a,b = map(int,input().split()) answer = '' if a > b: answer = 'GREATER' elif a == b: answer = 'EQUAL' else: answer = 'LESS' print(answer)
s823137122
p03738
u083668616
1559939843
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38384
109
A, B = map(int, input().split()) if A > B: print('GREATER') if A < B: print('LESS') if A == B: print('EQUAL')
s406911060
p03738
u623687794
1559769514
Python
Python (3.4.3)
py
Runtime Error
20
3064
319
a=input() b=input() c=len(a) d=len(b) if c>d: print("GREATER") elif c<d: print("LESS") else: flag=0 for i in range(c): if int(a[i])>int(b[i]): print("GREATER") flag=1 break elif int(a[i])<int(b[i]): print("LESS") flag=1 else: continue if flag==0: print("EQUAL")
s980981964
p03738
u416758623
1559478912
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
a, b = map(int, input().split()) if a > b: print("GREATER") elif a < b: print("LESS") else: print("EQUAL")
s964976181
p03738
u539675863
1559435810
Python
Python (3.4.3)
py
Runtime Error
20
3316
145
a, b = map(int, input().split()) c, d = map(int, input().split()) if a == c or a == d or b == c or b == d: print("YES") else: print("NO")
s226864898
p03738
u591779169
1559078159
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
a = int(input()) b = int(input()) if a > b: print("GREATER") elif a = b: print("EQUAL") else: print("LESS")
s889053986
p03738
u399721252
1559009815
Python
Python (3.4.3)
py
Runtime Error
18
3064
265
a = input() b = input() ans = "EQUAL" la, lb = len(a), len(b) if la < lb: ans = "LESS" elif la > lb: ans = "GREATER" else: for i in range(n): if a[i] < b[i]: ans = "LESS" break elif a[i] > b[i]: ans = "GREATER" break print(ans)
s273394316
p03738
u687044304
1558960048
Python
Python (3.4.3)
py
Runtime Error
17
2940
239
# -*- coding:utf-8 -*- def solve(): A, B = list(map(int, input().split())) if A > B: print("GREATER") elif A < B: print("LESS") else: print("EQUAL") if __name__ == "__main__": solve()
s025324213
p03738
u220345792
1557796999
Python
Python (3.4.3)
py
Runtime Error
149
12388
115
import numpy as np A = np.log10(int(input())) B = np.log10(int(input())) if A > B: print("A") else: print("B")
s636192557
p03738
u856169020
1557419718
Python
Python (3.4.3)
py
Runtime Error
17
2940
108
a, b = map(int, input().split()) if a>b: print("GREATER") elif a<b: print("LESS") else: print("EQUAL")