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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s127230845 | p03737 | u970315942 | 1494383944 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 50 | print raw_input()[0]+raw_input()[0]+raw_input()[0] |
s638541814 | p03737 | u781496784 | 1493443492 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3188 | 136 | import sys
x, y = map(int, sys.stdin.readlines())
if x > y:
print("GREATER")
elif x == y:
print("EQUAL")
else:
print("LESS") |
s693566350 | p03737 | u284188208 | 1493428045 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 107 | a = map(str,raw_input().split())
#a = int(raw_input())
print a[0][0].upper + a[1][0].upper + a[2][0].upper |
s423845288 | p03737 | u731291894 | 1493401340 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2692 | 85 | # coding: utf-8
print map(str, [x[0] for x in map(str, raw_input().split())]).upper() |
s546093772 | p03737 | u514901006 | 1493304016 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 114 | A=int(raw_input())
B=int(raw_input())
if (A>B):
print('GREATER')
elif(A==B):
print('EQUAL')
else:
print('LESS') |
s449929236 | p03737 | u514901006 | 1493303714 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 151 | A=int(raw_input())
B=int(raw_input())
if (A>B):
print('GREATER')
elif(A==B):
print('EQUAL')
else:
print('LESS')
#print((s1[0]+s2[0]+s3[0]).upper())
|
s889658471 | p03737 | u981890679 | 1493247903 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3056 | 150 | import math
import sys
x,y=[int(i) for i in input().split()]
if x > y:
print("GREATER")
elif x == y:
print("EQUAL")
else:
print("LESS")
|
s205766339 | p03737 | u021406692 | 1493240282 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2696 | 831 | # -*- coding:utf-8 -*-
n = int(raw_input())
numlist = (raw_input()).split(' ')
sumlist = [int(numlist[0])]
count = 0
for i in range(1, n):
sumlist.append(sumlist[i-1] + int(numlist[i]))
while (True):
if (sumlist[i-1] > 0 and sumlist[i] > 1): #i-1,i番目までのsumがともに正
numlist[i] = int(numlist[i]) - 1
sumlist[i] -= 1
count += 1
elif (sumlist[i-1] < 0 and sumlist[i] < 0): #i-1,i番目までのsumがともに負
numlist[i] = int(numlist[i]) + 1
sumlist[i] += 1
count += 1
elif (sumlist[i] == 0): #i番目までのsum=0
if (sumlist[i-1] > 0):
numlist[i] = int(numlist[i]) - 1
sumlist[i] -= 1
if (sumlist[i-1] < 0):
numlist[i] = int(numlist[i]) + 1
sumlist[i] += 1
count += 1
else:
break
print count
|
s741547257 | p03737 | u477939170 | 1493086524 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | print(''.join([ s[0].upper for s in input().split()])) |
s891237296 | p03737 | u021406692 | 1493047301 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 164 | # -*- coding:utf-8 -*-
sA = raw_input()
sB = raw_input()
A = int(sA)
B = int(sB)
if (A > B):
print 'GREATER'
elif (A < B):
print 'LESS'
else:
print 'EQUAL' |
s406939398 | p03737 | u461592867 | 1493003229 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 245 | # -*- coding: utf-8 -*-
A = input()
B = input()
if len(A) > len(B):
print('GREATER')
elif len(A) < len(B):
print('LESS')
else:
if A > B:
print('GREATER')
elif A < B:
print('LESS')
else:
print('EQUAL') |
s658056533 | p03737 | u461592867 | 1493003133 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 183 | A = input()
B = input()
if len(A) == len(B):
if A > B:
print('GREATER')
else:
print('LESS')
elif len(A) > len(B):
print('GREATER')
else:
print('LESS')
|
s842028022 | p03737 | u628262476 | 1492931644 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | a=int(input())
b=int(input())
if a==b: print('EQUAL')
elif a>b: print('GREATER')
else: print('LESS') |
s181122109 | p03737 | u624678420 | 1492924791 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | a = int(input())
b = int(input())
if a == b:
print("EQUEAL")
elif a > b:
print("GREATER")
else:
print("LESS") |
s415659435 | p03737 | u624678420 | 1492924669 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | a = input()
b = input()
if a == b:
print("EQUEAL")
elif a > b:
print("GREATER")
else:
print("LESS") |
s596348155 | p03737 | u256260242 | 1492923550 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | x, y = map(int, input().split())
if abs(x-y)<=1:
print("Brown")
else:
print("Alice")
|
s362230285 | p03737 | u252228075 | 1492919383 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 871 | n = int(input())
i = input()
i = i.split()
for item in range(len(i)):
i[item] = int(i[item])
totn = 0
totp = 0
countp = 0
countn = 0
for x in range(len(i)):
totp += i[x]
totn += i[x]
if x %2 == 1:
if totn == 0:
countn += 1
totn = 1
elif totn < 0:
countn += abs(totn) + 1
totn = 1
if totp == 0:
countp += 1
totp = -1
elif totp > 0:
countp += abs(totp) + 1
totp = -1
if x %2 == 0:
if totn == 0:
countn += 1
totn = -1
elif totn > 0:
countn += abs(totn) + 1
totn = -1
if totp == 0:
countp += 1
totp = 1
elif totp < 0:
countp += abs(totp) + 1
totp = 1
count = min(countn, countp)
print(count) |
s319817195 | p03737 | u029876051 | 1492919041 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 117 | a = int(raw_input())
b = int(raw_input())
if a > b:
print "GREATER"
elif a < b:
print "LESS"
else:
print "EQUAL"
|
s019618205 | p03737 | u622011073 | 1492917165 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | a=int(input());b=int(input());print('EQUAL' if a==b else 'GREATER' if a>b else 'LESS') |
s241823996 | p03737 | u374514823 | 1492915732 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 572 | import itertools
def sign(num):
if num < 0:
return -1
elif num > 0:
return 1
else:
return 0
N = input()
a_i = list(map(int, input().split()))
signs = [-1,1]
a_sum = 0
changes_1 = 0
for i, a in enumerate(a_i):
a_sum += a
if sign(a_sum) != signs[i%2]:
changes_1 += abs(a_sum) + 1
a_sum = signs[i%2]
signs = [1,-1]
a_sum = 0
changes_2 = 0
for i, a in enumerate(a_i):
a_sum += a
if sign(a_sum) != signs[i%2]:
changes_2 += abs(a_sum) + 1
a_sum = signs[i%2]
print(min(changes_1,changes_2)) |
s567900132 | p03737 | u849290552 | 1492915475 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | A=int(input())
B=int(input())
if A>B:
print('GREATER')
elif A<B:
print('LESS')
else:
print('EQUAL') |
s575602833 | p03737 | u374514823 | 1492915267 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 971 | import itertools
def sign(num):
if num < 0:
return -1
elif num > 0:
return 1
else:
return 0
N = input()
a_i = list(map(int, input().split()))
# a_sum = [a_i[0]]
# for i, a in enumerate(a_i[1:]):
# i += 1
# a_sum.append(a_sum[-1]+a)
#
# signs = [1, -1]
# changes = 0
#
# for i, sum_i in enumerate(a_sum):
# if sum_i != 0:
# signs[i%2] = sign(sum_i)
# signs[i%2+1] = -sign(sum_i)
# break
signs = [sign(a_i[0]), -sign(a_i[0])]
a_sum = 0
changes = 0
for i, a in enumerate(a_i):
a_sum += a
if sign(a_sum) != signs[i%2]:
changes += abs(a_sum) + 1
a_sum = signs[i%2]
print(changes)
#
# for i, sum_i in enumerate(a_sum):
# if i == 0:
# signs = [sign(sum_i), -sign(sum_i)]
# elif sign(sum_i) != signs[i%2]:
# a_sum[i:] = [num + (abs(sum_i) + 1) * signs[i%2] for num in a_sum[i:]]
# changes += abs(sum_i) + 1
# # print(a_sum)
# print(changes)
|
s055334705 | p03737 | u484578205 | 1492914862 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 580 | def alice(x, y):
return turn(x, y)
def brown(x, y):
return turn(x, y)
def turn(x, y):
a = 0
if x < y or x == y:
a = y / 2
y = y - a * 2
x = x + a
else:
a = x / 2
x = x - a * 2
y = y + a
if a == 0:
return [False, x, y]
return [True, x, y]
nums = input().split(" ")
x = int(nums[0])
y = int(nums[1])
while True:
result, x, y = alice(x, y)
if result == False:
print('Brown')
break
result, x, y = brown(x, y)
if result == False:
print('Alice')
break |
s616579931 | p03737 | u558892906 | 1492914114 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 123 | l = raw_input().split().title()
char = [i[0] for i in l]
changeChar = ','.join(char)
print(changeChar.replace(',','',100))
|
s420363021 | p03737 | u558892906 | 1492913875 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | args = raw_input()
headChar = [i[0].title() for i in args]
changeChar = ','.join(headChar)
print(changeChar.replace(',','',100)) |
s334379880 | p03737 | u484578205 | 1492913162 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 448 | x, y = input().split(" ")
while():
if alice() == False:
print('Brown')
break
if brown() == False:
print('Alice')
break
def turn():
a = 0
if x < y or x == y:
a = y / 2
y = y - a * 2
x = x + a
else:
a = x / 2
y = x - a * 2
x = y + a
if a == 0:
return False
return True
def alice():
return turn()
def brown():
return turn() |
s700458322 | p03737 | u580920947 | 1492913139 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 209 | # -*- coding: utf-8 -*-
# problem B
a = int(input())
b = int(input())
def comp(a, b):
if a < b:
print("LESS")
elif a < b:
print("GREATER")
else:
print("EQUAL")
comp(a, b) |
s199545612 | p03737 | u054556734 | 1492912755 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a,b,c=map(input().split())
a=a[0].upper()
b=b[0].upper()
c=c[0].upper()
print(a+b+c)
|
s695945467 | p03737 | u966740656 | 1492911982 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 643 | def c(ints):
for i in range(len(ints)):
if ints[i] != 0:
sig = 1 if ints[i] > 0 else -1
total = ints[i]
mov = i + 1
j = i
break
if i == len(ints) - 1:
return i + 1
for i_ in ints[j+1:]:
tmp = total + i_
if tmp == 0:
mov +=1
tmp = -sig
elif sig * tmp > 0:
mov += abs(tmp) + 1
tmp = -sig
sig *= -1
total = tmp
return mov
_ = input()
inp = input()
inp = inp.split(' ')
inp = [int(i_) for i_ in inp]
print(c(inp)) |
s265795435 | p03737 | u255555420 | 1492911557 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | a=(input())
b=(input())
a=int(a)
b=int(b)
if a>b:
print ('GREATER')
elif a<b:
print ('LESS')
else:
print ('EQUAL')
|
s042177244 | p03737 | u768951609 | 1492909929 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 117 | a=int(raw_input())
b=int(raw_input())
if a>b:
print "GREATER"
elif a<b:
print "LESS"
else:
print "EQUAL" |
s624332355 | p03737 | u966740656 | 1492909717 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | a = int(input())
b = int(input())
if a > b:
print('GREATER')
elif b > a:
print('LESS')
else:
print('EQUAL') |
s448852859 | p03737 | u217568477 | 1492909612 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 124 | a = int(input())
b = int(input())
if a == b:
print ("EQUAL")
elif a > b:
print ("GREATER")
else:
print ("LESS")
|
s296564340 | p03737 | u825463688 | 1492909488 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 125 | a = int(input())
b = int(input())
if a > b:
print("GREATER")
elif a < b:
print("LESS")
else:
print("EQUAL")
|
s214522609 | p03737 | u256260242 | 1492909473 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | a, b, c = input().split()
d = ""
d += a.upper()[0]
d += b.upper()[0] j
d += c.upper()[0]
print(d) |
s963372669 | p03737 | u344048704 | 1492909460 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | A = int(input())
B = int(input())
if A > B:
print("GREATER")
elif A < B:
print("LESS")
else:
print("EQUAL")
|
s591161371 | p03737 | u825463688 | 1492909339 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | a, b, c = input().split()
res = "".join([a[0].upper(), b[0].upper(), c[0].upper()])
print(res |
s281586253 | p03738 | u038216098 | 1601246207 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9044 | 108 | A,B=map(int,input().split())
if A>B :
print("GREATER")
elif A==B :
print("EQUAL")
else :
print("LESS") |
s372651354 | p03738 | u197956883 | 1600315271 | Python | PyPy3 (7.3.0) | py | Runtime Error | 101 | 74696 | 1253 | import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext
# input = sys.stdin.readline
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []
def main():
a = i_input()
b = i_input()
if a == b:
print('EQUAL')
else:
a > b:
print('GREATER')
else:
print('LESS')
if __name__ == '__main__':
main()
|
s701995794 | p03738 | u395672550 | 1599108413 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9060 | 114 | A,B = map(int, input().split())
if A > B:
print('GREATER')
if A < B:
print('LESS')
if A == B:
print('EQUAL') |
s948998796 | p03738 | u395620499 | 1598848804 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9156 | 120 | a, b = map(int, input().split())
if a > b:
print("GREATER")
elif a < b:
print("LESS")
else:
print("EQUAL")
|
s519170741 | p03738 | u992465933 | 1598669716 | Python | PyPy3 (7.3.0) | py | Runtime Error | 88 | 74756 | 342 | import sys
sys.setrecursionlimit(4100000)
import math
import itertools
INF = float('inf')
from heapq import heapify, heappop, heappush
def main():
a = int(input())
b = int(input())
if b < a:
prnit('GREATER')
elif a == b:
print('EQUAL')
else:
print('LESS')
if __name__ == '__main__':
main()
|
s932444732 | p03738 | u992465933 | 1598669685 | Python | PyPy3 (7.3.0) | py | Runtime Error | 86 | 68664 | 336 | import sys
sys.setrecursionlimit(4100000)
import math
import itertools
INF = float('inf')
from heapq import heapify, heappop, heappush
def main():
a,b = map(int, input().split())
if b < a:
prnit('GREATER')
elif a == b:
print('EQUAL')
else:
print('LESS')
if __name__ == '__main__':
main()
|
s740910362 | p03738 | u550014122 | 1598668899 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8980 | 113 | a,b = map(int,input().split())
if a > b :
print('GREATER')
elif a < b :
print('LESS')
else :
print('EQUAL') |
s819891595 | p03738 | u158290747 | 1598632222 | Python | PyPy3 (7.3.0) | py | Runtime Error | 124 | 74340 | 84 | a,b=map(int,input().split())
print("GREATER" if a>b else "LESS" if a<b else "EQUAL") |
s019825319 | p03738 | u607563136 | 1598574933 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9156 | 84 | a,b=map(int,input().split())
print("GREATER" if a>b else "LESS" if a<b else "EQUAL") |
s877183249 | p03738 | u244836567 | 1598567553 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8912 | 185 | a=int(input())
b=int(input())
import math
if math.sqrt(a)==math.sqrt(b):
print("EQUAL")
elif math.sqrt(a)>math.sqrt(b):
print("GREATER")
math.sqrt(a)<math.sqrt(b):
print("LESS") |
s631955851 | p03738 | u512551187 | 1598505254 | Python | PyPy3 (7.3.0) | py | Runtime Error | 107 | 74680 | 113 | x,y=map(int,input().split())
if(x>y):
print('GREATER')
elif(x<y):
print("LESS")
else:
print("EQUAL")
|
s842453268 | p03738 | u477320129 | 1598481949 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9040 | 160 | A, B = input().split()
N = max(len(A), len(B))
A, B = A.zfill(N), B.zfill(N)
if A == B:
print("EQUAL")
if A > B:
print("GREATER")
if A < B:
print("LESS")
|
s542419461 | p03738 | u477320129 | 1598481893 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9108 | 160 | A, B = input().split()
N = max(len(A), len(B))
A, B = A.zfill(N), B.zfill(B)
if A == B:
print("EQUAL")
if A > B:
print("GREATER")
if A < B:
print("LESS")
|
s149632211 | p03738 | u477320129 | 1598481789 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9160 | 115 | A, B = map(int, input().split())
if A == B:
print("EQUAL")
if A > B:
print("GREATER")
if A < B:
print("LESS") |
s280493466 | p03738 | u159335277 | 1597797258 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8956 | 115 | a = int(input())
b = int(input())
if a < b:
print('LESS'):
elif a > b:
print('GREATER')
else:
print('EQUAL') |
s595685621 | p03738 | u823885866 | 1597204805 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9068 | 98 | a, b = ri(), ri()
if a == b:
print('EQUAL')
elif a > b:
print('GREATER')
else:
print('LESS') |
s310246821 | p03738 | u786020649 | 1595539111 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8984 | 123 | a=int(input().split())
b=int(input().split())
if a>b:
print('GREATER')
elif a==b:
print('EQUAL')
else:
print('LESS') |
s801575283 | p03738 | u612635771 | 1595478731 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8836 | 89 | A = int(input())
B = int(input())
print("GREATER" if A>B else "EQOUL" if A=B else "LESS") |
s723272277 | p03738 | u612635771 | 1595478693 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9040 | 95 | A, B = (int(input()) for i in range(2))
print("GREATER" if A>B else "EQOUL" if A=B else "LESS") |
s832615925 | p03738 | u612635771 | 1595478671 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8892 | 93 | A, B = int(input()) for i in range(2)
print("GREATER" if A>B else "EQOUL" if A=B else "LESS") |
s518919398 | p03738 | u666964944 | 1594682595 | Python | Python (3.8.2) | py | Runtime Error | 32 | 8992 | 101 | a,b = map(int, input().split())
if a>b: print('GREATER')
elif a<b: print('LESS')
else: print('EQUAL') |
s980370348 | p03738 | u869265610 | 1594350767 | Python | Python (3.8.2) | py | Runtime Error | 30 | 8916 | 105 | a=int(input())
b=int(input())
if a>b:
print('GREATER')
elif a=b:
print('EQUAL')
else:
print('LESS') |
s818718099 | p03738 | u634046173 | 1593917834 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8716 | 91 | a = int(input())
b = int(input())
print('GREATER'if a > b 'EQUAL' elif a == b else 'LESS')
|
s585771553 | p03738 | u629607744 | 1593818397 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9032 | 297 | def i():
return int(input())
def i2():
return map(int,input().split())
def s():
return str(input())
def l():
return list(input())
def intl():
return list(int(k) for k in input().split())
a = i()
b = i()
if len(a) > len(b):
print("GREATER")
elif a == b:
print("EQUAL")
else:
print("LESS") |
s027440453 | p03738 | u854685063 | 1593818337 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9044 | 112 | a,b = map(int,input().split())
if a > b:
print("GREATER")
elif a == b:
print("EQUAL")
else:
print("LESS")
|
s572673677 | p03738 | u854685063 | 1593818294 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9120 | 111 | a,b = map(int,input().split())
if a > b:
print("GREATER")
elif a == b:
print("EQUAL")
else:
print("LESS") |
s473548429 | p03738 | u054514819 | 1593653845 | Python | PyPy3 (7.3.0) | py | Runtime Error | 91 | 74804 | 234 | import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)
A, B = mapint()
if A>B:
print('GREATER')
elif A<B:
print('LESS')
else:
print('EQUAL') |
s762428801 | p03738 | u047931063 | 1593405737 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9124 | 353 | # n, m, l = map(int, input().split())
# list_n = list(map(int, input().split()))
# n = input()
# list = [input() for i in range(N)
# list = [[i for i in range(N)] for _ in range(M)]
# import sys
# input = sys.stdin.readline
A = int(input())
B = int(input())
if A > B:
print("GREATER")
if B > A:
print("LESS")
if A == B:
Print("EQUAL")
|
s368240517 | p03738 | u047931063 | 1593405617 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9156 | 350 | # n, m, l = map(int, input().split())
# list_n = list(map(int, input().split()))
# n = input()
# list = [input() for i in range(N)
# list = [[i for i in range(N)] for _ in range(M)]
# import sys
# input = sys.stdin.readline
A = int(input())
B = int(input())
if A > B:
print("GREATER")
elif B > A:
print("LESS")
else:
Print("EQUAL")
|
s096353874 | p03738 | u047931063 | 1593405570 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8952 | 346 | # n, m, l = map(int, input().split())
# list_n = list(map(int, input().split()))
# n = input()
# list = [input() for i in range(N)
# list = [[i for i in range(N)] for _ in range(M)]
import sys
input = sys.stdin.readline
A = int(input())
B = int(input())
if A > B:
print("GREATER")
elif B > A:
print("LESS")
else:
Print("EQUAL")
|
s473469107 | p03738 | u047931063 | 1593405327 | Python | PyPy3 (7.3.0) | py | Runtime Error | 93 | 68516 | 657 | # n, m, l = map(int, input().split())
# list_n = list(map(int, input().split()))
# n = input()
# list = [input() for i in range(N)
# list = [[i for i in range(N)] for _ in range(M)]
import sys
input = sys.stdin.readline
Astr = input()
Bstr = input()
if len(Astr) > len(Bstr):
print("GREATER")
elif len(Astr) < len(Bstr):
print("LESS")
else:
ise = True
for i in range(len(Astr)):
if int(Astr[i]) > int(Bstr[i]):
ise = False
print("GREATER")
break
elif int(Astr[i]) < int(Bstr[i]):
ise = False
print("LESS")
break
if ise:
print("EQUAL")
|
s403049418 | p03738 | u047931063 | 1593404868 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8976 | 657 | # n, m, l = map(int, input().split())
# list_n = list(map(int, input().split()))
# n = input()
# list = [input() for i in range(N)
# list = [[i for i in range(N)] for _ in range(M)]
import sys
input = sys.stdin.readline
Astr = input()
Bstr = input()
if len(Astr) > len(Bstr):
print("GREATER")
elif len(Astr) < len(Bstr):
print("LESS")
else:
ise = True
for i in range(len(Astr)):
if int(Astr[i]) > int(Bstr[i]):
ise = False
print("GREATER")
break
elif int(Astr[i]) < int(Bstr[i]):
ise = False
print("LESS")
break
if ise:
print("EQUAL")
|
s716424938 | p03738 | u047931063 | 1593404644 | Python | PyPy3 (7.3.0) | py | Runtime Error | 97 | 74364 | 580 | # n, m, l = map(int, input().split())
# list_n = list(map(int, input().split()))
# n = input()
# list = [input() for i in range(N)
# list = [[i for i in range(N)] for _ in range(M)]
import sys
input = sys.stdin.readline
Astr = input()
Bstr = input()
if len(Astr) > len(Bstr):
print("GREATER")
elif len(Astr) < len(Bstr):
print("LESS")
else:
for i in range(len(Astr)):
if int(Astr[i]) > int(Bstr[i]):
print("GREATER")
exit()
elif int(Astr[i]) < int(Bstr[i]):
print("LESS")
exit()
print("EQUAL")
|
s413054355 | p03738 | u047931063 | 1593404449 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9196 | 580 | # n, m, l = map(int, input().split())
# list_n = list(map(int, input().split()))
# n = input()
# list = [input() for i in range(N)
# list = [[i for i in range(N)] for _ in range(M)]
import sys
input = sys.stdin.readline
Astr = input()
Bstr = input()
if len(Astr) > len(Bstr):
print("GREATER")
elif len(Astr) < len(Bstr):
print("LESS")
else:
for i in range(len(Astr)):
if int(Astr[i]) > int(Bstr[i]):
print("GREATER")
exit()
elif int(Astr[i]) < int(Bstr[i]):
print("LESS")
exit()
print("EQUAL")
|
s573422372 | p03738 | u088488125 | 1593379639 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8912 | 192 | a=input()
b=input()
if len(a)==len(b):
if a==b:
print("EQUAL")
elif a<b:
print("LESS")
else a>b:
print("GREATER")
elif len(a)<len(b):
print("LESS")
else:
print("GREATER") |
s722828095 | p03738 | u088488125 | 1593379294 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8976 | 96 | a,b=input().split()
if a==b:
print("EQUAL")
elif a<b:
print("LESS")
else:
print("GREATER") |
s628028640 | p03738 | u581403769 | 1592014931 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | a, b = map(int, input().split())
if a > b:
print('GREATER')
elif b > a:
print('LESS')
else:
print('EQUAL') |
s787949222 | p03738 | u581403769 | 1592014321 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 507 | a, b = input().split()
a = list(a)
b = list(b)
a = [int(a[i]) for i in range(len(a))]
b = [int(b[i]) for i in range(len(b))]
flag = True
if len(a) > len(b):
print('GREATER')
flag = False
elif len(b) > len(a):
print('LESS')
flag = False
else:
for i in range(len(a)):
if a[i] > b[i]:
print('GREATER')
flag = False
break
elif b[i] > a[i]:
print('LESS')
flag = False
break
if flag:
print('EQUAL') |
s743389206 | p03738 | u581403769 | 1592014021 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 438 | a, b = map(int, input().split())
a = list(a)
b = list(b)
flag = True
if len(a) > len(b):
print('GREATER')
flag = False
elif len(b) > len(a):
print('LESS')
flag = False
else:
for i in range(len(a)):
if a[i] > b[i]:
print('GREATER')
flag = False
break
elif b[i] > a[i]:
print('LESS')
flag = False
break
if flag:
print('EQUAL') |
s134818517 | p03738 | u673173160 | 1591760620 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | a, b = map(int, input().split())
if a == b:
print("EQUAL")
elif a > b:
print("GREATER")
else:
print("LESS") |
s886827733 | p03738 | u875407613 | 1591635470 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 106 | a=int(input())
b=int(input())
if a>b:
print("GREATER");
elif a==b:
print("EQUAL");
else print("LESS"); |
s959803209 | p03738 | u152614052 | 1591547118 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 173 | def main():
a = int(input())
b = int(input())
if a > b:
print("GREATER")
elif a = b:
print("EQUAL")
else:
print("LESS")
main() |
s346141289 | p03738 | u022215787 | 1591389446 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 119 | a = int(input())
b = int(input())
if a > b:
print('GREATER')
elif a < n:
print('LESS')
else:
print('EQUAL') |
s477950089 | p03738 | u359007262 | 1591336811 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 202 | def resolve():
a, b = map(int, input().split())
ans = str()
if a > b:
ans = "GREATER"
elif a < b:
ans = "LESS"
else:
ans = "EQUAL"
print(ans)
resolve() |
s575286887 | p03738 | u931938233 | 1591302734 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 233 | A = input()
B = input()
if A.length() > B.length():
print("GREATER")
elif A.length() < B.length():
print("LESS")
else:
for a,b in zip(A,B):
if a > b:
print("GREATER")
elif a < b:
print("LESS")
print("EQUAL") |
s512216733 | p03738 | u730769327 | 1591244678 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 116 | a=int(input())
b=int(input())
frag="EQUAL"
if a>b:
frag="GREATER"
elif a[i]<b[i]:
frag="LESS"
print(frag) |
s440639691 | p03738 | u713914478 | 1590878737 | 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") |
s269132712 | p03738 | u742729271 | 1590532877 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 109 | A, B = map(int, input().split())
if A>B:
print("GREATER")
elif A<B:
print("LESS")
else:
print("EQUAL") |
s584256164 | p03738 | u742729271 | 1590532784 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 121 | import math
A, B = map(int, input().split())
if A>B:
print("GREATER")
elif A<B:
print("LESS")
else:
print("EQUAL") |
s390930110 | p03738 | u559346857 | 1590339585 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | A = int(input())
B = int(input())
if A > B:
print "GREATER"
elif A < B:
print "LESS"
else:
print "EQUAL" |
s319808570 | p03738 | u559346857 | 1590339537 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | A = input()
B = input()
if A > B:
print "GREATER"
elif A < B:
print "LESS"
else:
print "EQUAL"
|
s869923311 | p03738 | u559346857 | 1590339442 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 107 | a=int(input())
b=int(input())
if a=>b:
print("GREATER")
elif b<=a:
print("LESS")
else:
print("EQUAL") |
s686788021 | p03738 | u559346857 | 1590339413 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | a=int(input())
b=int(input())
if a>=b:
print("GREATER")
elif b=<a:
print("LESS")
else:
print("EQUAL") |
s019206190 | p03738 | u559346857 | 1590339243 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | a=int(input())
b=int(input())
print("GREATER" if a>=b "LESS" elif b<=a else"EQUAL") |
s114209628 | p03738 | u559346857 | 1590339198 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | a=int(input())
b=int(input())
print("GREATER" if a>=b elif b<=a "LESS" else"EQUAL") |
s973505374 | p03738 | u559346857 | 1590339144 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a=int(input())
b=int(input())
print("GREATER" if a>b elif b<a "LESS" else"EQUAL") |
s730177898 | p03738 | u497952650 | 1589860107 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 118 | A,B = map(int,input().split())
if A == B:
print("EQUAL")
elif A < B:
print("LESS")
else:
print("GREATER") |
s828046223 | p03738 | u760636024 | 1589772427 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38384 | 118 | A,B = map(int, input().split())
if A > B:
print("GREATER")
elif A == B:
print("EQUAL")
else:
print("LESS") |
s712002109 | p03738 | u482157295 | 1589758038 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 117 | a = int(input())
b = int(input())
if a > b:
print(GREATER)
elif a < b:
print("LESS")
else:
print("EQUAL") |
s955779763 | p03738 | u991134049 | 1589739746 | Python | PyPy3 (2.4.0) | py | Runtime Error | 181 | 38384 | 90 | a, b = map(int,input().split())
print("GREATER" if a> b else "LESS" if a <b else "EQUAL")
|
s515427367 | p03738 | u991134049 | 1589739633 | Python | PyPy3 (2.4.0) | py | Runtime Error | 177 | 38384 | 89 | a, b = map(int,input().split())
print("GREATER" if a> b else "LESS" if a <b else "EQUAL") |
s068063588 | p03738 | u991134049 | 1589739451 | Python | PyPy3 (2.4.0) | py | Runtime Error | 172 | 38384 | 290 | A, B = input().split()
A = list(A)
B = list(B)
if len(A) > len(B):
print("GREATER")
elif len(A)<len(B):
print("LESS")
else:
for i in range(len(A)):
if A[i] > B[i]:
print("GREATER")
break
elif B[i] > A[i]:
print("LESS")
break
if A == B:
print("EQUAL") |
s625949122 | p03738 | u593934357 | 1589333520 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 117 | a,b = map(int, input().split())
if (a > b):
print("GREATER")
elif (a < b):
print("LESS")
else:
print("EQUAL")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.