s_id string | p_id string | u_id string | date string | language string | original_language string | filename_ext string | status string | cpu_time string | memory string | code_size string | code string | error string | stdout string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s956042140 | p02256 | u831244171 | 1493827335 | Python | Python3 | py | Runtime Error | 0 | 0 | 210 | def lcd(a,b): ##return least common multiple of a and b
if a > b:
return lcd(a-b,b)
elif a < b:
return lcd(b-a,a)
elif a == b:
return a
a,b = input().split()
print(lcd(a,b)) | Traceback (most recent call last):
File "/tmp/tmpmy1_w0do/tmptumn5egw.py", line 9, in <module>
a,b = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s327153603 | p02256 | u213265973 | 1494485342 | Python | Python3 | py | Runtime Error | 0 | 0 | 377 | x, y = [int(i) for i in input().split(" ")]
num = []
if x > y:
z = x % y
for zzz in range(z + 1):
if z % zzz == 0 and x % zzz == 0:
num.append(zzz)
print(max(num))
elif y > x:
z = y % x
for zzz in range(z + 1):
if z % zzz == 0 and y % zzz == 0:
num.append(zzz)
print(max(num))
else:
print(x) | Traceback (most recent call last):
File "/tmp/tmp6n1s1azb/tmpnjread_9.py", line 1, in <module>
x, y = [int(i) for i in input().split(" ")]
^^^^^^^
EOFError: EOF when reading a line
| |
s923280588 | p02256 | u213265973 | 1494485383 | Python | Python3 | py | Runtime Error | 0 | 0 | 368 | x, y = [int(i) for i in input().split(" ")]
num = []
if x > y:
z = x % y
for zzz in range(z + 1):
if z % zzz == 0 and x % zzz == 0:
num.append(zzz)
print(max(num))
elif y > x:
z = y % x
for zzz in range(z + 1):
if z % zzz == 0 and y % zzz == 0:
num.append(zzz)
print(max(num))
else:
print(x) | Traceback (most recent call last):
File "/tmp/tmpmuwmiubk/tmp4l7_qv4z.py", line 1, in <module>
x, y = [int(i) for i in input().split(" ")]
^^^^^^^
EOFError: EOF when reading a line
| |
s322697535 | p02256 | u213265973 | 1494485399 | Python | Python3 | py | Runtime Error | 0 | 0 | 360 | x, y = [int(i) for i in input().split(" ")]
num = []
if x > y:
z = x % y
for zzz in range(z + 1):
if z % zzz == 0 and x % zzz == 0:
num.append(zzz)
print(max(num))
elif y > x:
z = y % x
for zzz in range(z + 1):
if z % zzz == 0 and y % zzz == 0:
num.append(zzz)
print(max(num))
else:
print(x) | Traceback (most recent call last):
File "/tmp/tmp_122zxma/tmpiznn2t2e.py", line 1, in <module>
x, y = [int(i) for i in input().split(" ")]
^^^^^^^
EOFError: EOF when reading a line
| |
s715128887 | p02256 | u213265973 | 1494485455 | Python | Python3 | py | Runtime Error | 0 | 0 | 342 | x, y = [int(i) for i in input().split(" ")]
num = []
if x >= y:
z = x % y
for zzz in range(z + 1):
if z % zzz == 0 and x % zzz == 0:
num.append(zzz)
print(max(num))
elif y > x:
z = y % x
for zzz in range(z + 1):
if z % zzz == 0 and y % zzz == 0:
num.append(zzz)
print(max(num)) | Traceback (most recent call last):
File "/tmp/tmp0b78hug7/tmpvyx9x28g.py", line 1, in <module>
x, y = [int(i) for i in input().split(" ")]
^^^^^^^
EOFError: EOF when reading a line
| |
s542204186 | p02256 | u213265973 | 1494485935 | Python | Python3 | py | Runtime Error | 0 | 0 | 185 | def gdc(x, y):
if x % y == 0:
return y
else:
return gdc(x, x%y)
if __name__ == "__main__":
x, y = [int(i) for i in input().split(" ")]
print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmpdsxsylq4/tmpf3dihxfk.py", line 9, in <module>
x, y = [int(i) for i in input().split(" ")]
^^^^^^^
EOFError: EOF when reading a line
| |
s400436312 | p02256 | u213265973 | 1494485965 | Python | Python3 | py | Runtime Error | 0 | 0 | 185 | def gdc(x, y):
if x % y == 0:
return y
else:
return gdc(x, x%y)
if __name__ == '__main__':
x, y = [int(i) for i in input().split(" ")]
print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmp8vrvibdy/tmpnc1nvf9f.py", line 9, in <module>
x, y = [int(i) for i in input().split(" ")]
^^^^^^^
EOFError: EOF when reading a line
| |
s554550528 | p02256 | u905808447 | 1495549013 | Python | Python | py | Runtime Error | 0 | 0 | 170 | def gcd(x, y):
r = 1
for i in range(min(x, y)):
if x % i == 0 and y % i == 0:
r = i
return r
x, y = map(int, re.split(' ', raw_input()))
print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmp3s3caui6/tmpm40hgexo.py", line 8, in <module>
x, y = map(int, re.split(' ', raw_input()))
^^
NameError: name 're' is not defined
| |
s787354830 | p02256 | u905808447 | 1495549056 | Python | Python | py | Runtime Error | 0 | 0 | 186 | def gcd(x, y):
r = 1
for i in range(min(x, y)):
if x % i == 0 and y % i == 0:
r = i
return r
x, y = map(int, re.split(' ', raw_input()))
print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmpnzogwqaq/tmp1oeko7cj.py", line 8, in <module>
x, y = map(int, re.split(' ', raw_input()))
^^
NameError: name 're' is not defined
| |
s781065366 | p02256 | u905808447 | 1495549082 | Python | Python | py | Runtime Error | 0 | 0 | 189 | def gcd(x, y):
r = 1
for i in range(1, min(x, y)):
if x % i == 0 and y % i == 0:
r = i
return r
x, y = map(int, re.split(' ', raw_input()))
print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmppv_w0gzq/tmpp7_p53ds.py", line 8, in <module>
x, y = map(int, re.split(' ', raw_input()))
^^
NameError: name 're' is not defined
| |
s154415556 | p02256 | u905808447 | 1495549124 | Python | Python | py | Runtime Error | 0 | 0 | 189 | def gcd(x, y):
r = 1
for i in range(1, min(x, y)):
if x % i == 0 and y % i == 0:
r = i
return r
x, y = map(int, re.split(' ', raw_input()))
print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmp9tti01th/tmpgvueuokb.py", line 8, in <module>
x, y = map(int, re.split(' ', raw_input()))
^^
NameError: name 're' is not defined
| |
s598446805 | p02256 | u905808447 | 1495549158 | Python | Python | py | Runtime Error | 0 | 0 | 215 | def gcd(x, y):
r = 1
for i in range(1, min(x, y)):
if x % i == 0 and y % i == 0:
r = i
return r
x, y = map(int, re.split(' ', raw_input()))
print('%d %d' % (x, y ))
#print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmpz09u4j7a/tmpyz1ts41g.py", line 8, in <module>
x, y = map(int, re.split(' ', raw_input()))
^^
NameError: name 're' is not defined
| |
s923831212 | p02256 | u905808447 | 1495549180 | Python | Python | py | Runtime Error | 0 | 0 | 87 |
x, y = map(int, re.split(' ', raw_input()))
print('%d %d' % (x, y ))
#print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmpnmvd_79n/tmpauddc5cy.py", line 2, in <module>
x, y = map(int, re.split(' ', raw_input()))
^^
NameError: name 're' is not defined
| |
s652998128 | p02256 | u905808447 | 1495549199 | Python | Python | py | Runtime Error | 0 | 0 | 82 | inputlist = map(int, re.split(' ', raw_input()))
print inputlist
#print(gcd(x, y)) | File "/tmp/tmpydmxbr6k/tmply4o1kk9.py", line 2
print inputlist
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s443424990 | p02256 | u905808447 | 1495550243 | Python | Python | py | Runtime Error | 0 | 0 | 318 | def gcd(x, y):
if x == y:
return x
if x < y and y % x:
return x
if x > y and x % y:
return y
r = 1
for i in range(1, int(min(x, y) / 2) + 1):
if x % i == 0 and y % i == 0:
r = i
return r
x, y = map(int, re.split(' ', raw_input()))
print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmp20bi1und/tmpj47x71vy.py", line 15, in <module>
x, y = map(int, re.split(' ', raw_input()))
^^
NameError: name 're' is not defined
| |
s391822400 | p02256 | u905313459 | 1496139824 | Python | Python3 | py | Runtime Error | 50 | 10112 | 72 | from fractions import gcd
print(gcd(*set(map(int, input().split(" "))))) | Traceback (most recent call last):
File "/tmp/tmp44sur8yh/tmpbwhtr7s_.py", line 1, in <module>
from fractions import gcd
ImportError: cannot import name 'gcd' from 'fractions' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/fractions.py)
| |
s073651543 | p02256 | u278938795 | 1498725852 | Python | Python | py | Runtime Error | 0 | 0 | 210 | import sys
def gcd(a,b):
temp = a
if a<b:
a=b
b=a
if b==0:
return a
c = a%b
return gcd(b,c)
line = sys.stdin.readline().strip().split(" ")
A = int(line[0])
B = int(line[1])
print(gcd(A,B))
return | File "/tmp/tmpjkl6mml8/tmp9cxentak.py", line 19
return
^^^^^^
SyntaxError: 'return' outside function
| |
s426354913 | p02256 | u914146430 | 1500521963 | Python | Python3 | py | Runtime Error | 0 | 0 | 174 | XY=list(map(int,input().split()))
x=max(XY)
y=min(XY)
x_dy=x%y
ans=0
if x==y:
ans=x
for d in range(1,(y+1)//2):
if y%d==0 and x_dy%d==0:
ans=d
print(and) | File "/tmp/tmpej53eyfl/tmp00iortp8.py", line 16
print(and)
^^^
SyntaxError: invalid syntax
| |
s811288844 | p02256 | u914146430 | 1500522262 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | import math
XY=list(map(int,input().split()))
x=max(XY)
y=min(XY)
x_dy=x%y
ans=math.gcb(x,x_dy)
print(ans) | Traceback (most recent call last):
File "/tmp/tmp8kbf658j/tmpfy2sal7b.py", line 3, in <module>
XY=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s079730161 | p02256 | u914146430 | 1500522286 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | import math
XY=list(map(int,input().split()))
x=max(XY)
y=min(XY)
x_dy=x%y
ans=math.gcd(x,x_dy)
print(ans) | Traceback (most recent call last):
File "/tmp/tmp1mm9jcu3/tmpa_kvpx_0.py", line 3, in <module>
XY=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s266132597 | p02256 | u350064373 | 1502076243 | Python | Python3 | py | Runtime Error | 0 | 0 | 65 | import math
x, y = map(int,input().split())
print(math.gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmp5cat2q5p/tmpx7j0mv5l.py", line 2, in <module>
x, y = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s570614947 | p02256 | u988834390 | 1502770908 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | def gcd(a, b):
if a % b == 0:
return b
else:
return gcd(b, a % b)
N = input().split()
print(gcd(N[0], N[1])) | Traceback (most recent call last):
File "/tmp/tmp74vgltfa/tmp33epoa5_.py", line 8, in <module>
N = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s084720661 | p02256 | u988834390 | 1502770925 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | def gcd(a, b):
if a % b == 0:
return b
else:
return gcd(b, a % b)
N = input().split()
print(gcd(N[0], N[1])) | Traceback (most recent call last):
File "/tmp/tmpitw6wh08/tmp_7dc9vto.py", line 8, in <module>
N = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s442646650 | p02256 | u821624310 | 1503307465 | Python | Python3 | py | Runtime Error | 0 | 0 | 66 | import math
x, y = map(int, input().split())
print(math.gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmpisbdktz5/tmpi12466a8.py", line 2, in <module>
x, y = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s051525876 | p02256 | u853619096 | 1503799185 | Python | Python3 | py | Runtime Error | 20 | 7548 | 211 | z=list(map(int,input().split()))
z.sort()
a=0
while True:
a=z[1]-z[0]
if z[0]%a==0:
z[1] = z[0]
z[0] = a
z.sort()
break
z[1]=z[0]
z[0]=a
z.sort()
print(z[0]) | Traceback (most recent call last):
File "/tmp/tmpnlgk613u/tmpwjua33c9.py", line 1, in <module>
z=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s851621988 | p02256 | u853619096 | 1503799286 | Python | Python3 | py | Runtime Error | 30 | 7612 | 211 | z=list(map(int,input().split()))
z.sort()
a=0
while True:
a=z[1]-z[0]
if z[0]%a==0:
z[1] = z[0]
z[0] = a
z.sort()
break
z[1]=z[0]
z[0]=a
z.sort()
print(z[0]) | Traceback (most recent call last):
File "/tmp/tmpvntv9k6e/tmpyuzxyt7q.py", line 1, in <module>
z=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s038413438 | p02256 | u354053070 | 1505107043 | Python | Python3 | py | Runtime Error | 0 | 0 | 152 | def gcd(x, y):
if x < y:
x, y = y, x
while y > 0:
x, y = y, x % y
return x
x, y = map(int, input().split())
print(gcd(x, y) | File "/tmp/tmpjk2k0ryy/tmp7e519r_f.py", line 9
print(gcd(x, y)
^
SyntaxError: '(' was never closed
| |
s427076002 | p02256 | u024715419 | 1507258812 | Python | Python3 | py | Runtime Error | 0 | 0 | 72 | import math
a = list(map(int,input().split()))
print(math.gcd(a[0],a[1]) | File "/tmp/tmphc13i3df/tmpa90mivg8.py", line 3
print(math.gcd(a[0],a[1])
^
SyntaxError: '(' was never closed
| |
s524876473 | p02256 | u024715419 | 1507259494 | Python | Python3 | py | Runtime Error | 0 | 0 | 73 | import math
a = list(map(int,input().split()))
print(math.gcd(a[0],a[1])) | Traceback (most recent call last):
File "/tmp/tmp5yzjq3nc/tmpt87cxgz3.py", line 2, in <module>
a = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s474223872 | p02256 | u024715419 | 1507259508 | Python | Python3 | py | Runtime Error | 0 | 0 | 73 | import math
a = list(map(int,input().split()))
print(math.gcd(a[0],a[1])) | Traceback (most recent call last):
File "/tmp/tmp4g52djpr/tmpgnb1nphf.py", line 2, in <module>
a = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s690728747 | p02256 | u450231931 | 1507297033 | Python | Python3 | py | Runtime Error | 20 | 7728 | 271 | num = input().split()
if int(num[0])<int(num[1]):
x = int(num[1])
y = int(num[0])
else:
x = int(num[0])
y = int(num[1])
end = 0
z = x % y
while True:
z1 = y % z
y1 = z
if z1 == 0:
print(z)
break
z = z1
y = y1 | Traceback (most recent call last):
File "/tmp/tmpqanindd8/tmp8siyt_40.py", line 1, in <module>
num = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s954435916 | p02256 | u246756871 | 1507435945 | Python | Python3 | py | Runtime Error | 0 | 0 | 181 | def gcd(x, y):
if x<y:
return gcd(y, x)
while x%y!=0:
r = x%y
x, y = y, r
return r
iinfo = map(int, input().split())
print(gcd[info0], info[1])) | File "/tmp/tmpj6invbsq/tmpst1bizox.py", line 10
print(gcd[info0], info[1]))
^
SyntaxError: unmatched ')'
| |
s856023497 | p02256 | u246756871 | 1507435983 | Python | Python3 | py | Runtime Error | 0 | 0 | 180 | def gcd(x, y):
if x<y:
return gcd(y, x)
while x%y!=0:
r = x%y
x, y = y, r
return r
info = map(int, input().split())
print(gcd[info0], info[1])) | File "/tmp/tmpq3pfc3_d/tmpct8i8r6d.py", line 10
print(gcd[info0], info[1]))
^
SyntaxError: unmatched ')'
| |
s446155857 | p02256 | u246756871 | 1507436012 | Python | Python3 | py | Runtime Error | 0 | 0 | 181 | def gcd(x, y):
if x<y:
return gcd(y, x)
while x%y!=0:
r = x%y
x, y = y, r
return r
info = map(int, input().split())
print(gcd(info[0], info[1])) | Traceback (most recent call last):
File "/tmp/tmps6_gz5o3/tmpzul1xsl9.py", line 9, in <module>
info = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s042908077 | p02256 | u424457654 | 1508294389 | Python | Python3 | py | Runtime Error | 0 | 0 | 54 | a, b = map(int, input().split())
print(math.gcd(a, b)) | Traceback (most recent call last):
File "/tmp/tmp2_dd2l0y/tmpu1on0kj9.py", line 1, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s648715631 | p02256 | u626266743 | 1508294403 | Python | Python3 | py | Runtime Error | 0 | 0 | 54 | a, b = map(int, input().split())
print(math.gcd(a, b)) | Traceback (most recent call last):
File "/tmp/tmpxx7pzjyo/tmpgfiuhstq.py", line 1, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s805295686 | p02256 | u424457654 | 1508294531 | Python | Python3 | py | Runtime Error | 0 | 0 | 48 | a, b = map(int, iput().split())
print(gcd(a, b)) | Traceback (most recent call last):
File "/tmp/tmp9lx59vtk/tmp70q1z6_u.py", line 1, in <module>
a, b = map(int, iput().split())
^^^^
NameError: name 'iput' is not defined. Did you mean: 'input'?
| |
s515318570 | p02256 | u626266743 | 1508294593 | Python | Python3 | py | Runtime Error | 0 | 0 | 72 | a, b = map(int, input().split())
if a, b != 0:
print(math.gcd(a, b)) | File "/tmp/tmpiwh6j34k/tmpym11dh52.py", line 2
if a, b != 0:
^
SyntaxError: invalid syntax
| |
s530182814 | p02256 | u626266743 | 1508294691 | Python | Python3 | py | Runtime Error | 0 | 0 | 54 | a, b = map(int, input().split())
print(math.gcd(a, b)) | Traceback (most recent call last):
File "/tmp/tmps6bvz1yv/tmpakrvmq69.py", line 1, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s113475310 | p02256 | u626266743 | 1508852484 | Python | Python3 | py | Runtime Error | 0 | 0 | 49 | x, y = map(int, input().split())
print(gcd(x, y)) | Traceback (most recent call last):
File "/tmp/tmp8wlaxug0/tmpefxgen3c.py", line 1, in <module>
x, y = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s943180578 | p02256 | u626266743 | 1508852670 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | x, y = map(int, input().split())
while x > 0 :
x, y = y, x % y
print(x) | Traceback (most recent call last):
File "/tmp/tmp854199fb/tmphwe4j85u.py", line 1, in <module>
x, y = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s051868864 | p02256 | u424457654 | 1508896892 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | x, y = map(int, input().split())
while True:
if x >= y:
x = x % y
else:
y = y % x
if x % y == 0:
print(x)
break
elif y % x == 0:
print(y)
| Traceback (most recent call last):
File "/tmp/tmpbnejk9ta/tmprn5jzs3b.py", line 1, in <module>
x, y = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s930560170 | p02256 | u197670577 | 1509029056 | Python | Python | py | Runtime Error | 0 | 0 | 102 | x, y = map(int, raw_input().split())
if x < y:
x, y = y, x
while y != 0
x, y = y, x%y
print x | File "/tmp/tmp1pgusryi/tmp15owu3mt.py", line 5
while y != 0
^
SyntaxError: expected ':'
| |
s038130997 | p02256 | u865281338 | 1511357671 | Python | Python3 | py | Runtime Error | 0 | 0 | 203 | def main ()
x, y =[int(i) for i in input().split().sort(reverse = True )]
while x%y != 0 :
x, y =[x%y x.sort(reverse = True)]
print(y)
if __name__=='__main__':
def main() | File "/tmp/tmpldq2ee2u/tmpr2aq4wh9.py", line 1
def main ()
^
SyntaxError: expected ':'
| |
s042986094 | p02256 | u865281338 | 1511357889 | Python | Python3 | py | Runtime Error | 0 | 0 | 178 | def main ()
x, y =[int(i) for i in input().split().sort(reverse = True )]
while y != 0 :
x, y = y, x%y
print(x)
if __name__=='__main__':
def main() | File "/tmp/tmpobsa54xa/tmp711mceun.py", line 1
def main ()
^
SyntaxError: expected ':'
| |
s319537082 | p02256 | u865281338 | 1511357966 | Python | Python3 | py | Runtime Error | 0 | 0 | 152 | def main()
x, y =[int(i) for i in input().split()]
while y != 0 :
x, y = y, x%y
print(x)
if __name__ == '__main__':
def main() | File "/tmp/tmpllu8euca/tmpexxe2_i3.py", line 1
def main()
^
SyntaxError: expected ':'
| |
s494452422 | p02256 | u865281338 | 1511357991 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | def main()
x, y =[int(i) for i in input().split()]
while y != 0 :
x, y = y, x%y
print(x)
if __name__ == '__main__':
def main() | File "/tmp/tmpqkl2uo5e/tmpqgm5so03.py", line 1
def main()
^
SyntaxError: expected ':'
| |
s559946251 | p02256 | u865281338 | 1511358034 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | def main()
x, y =[int(i) for i in input().split()]
while y != 0 :
x, y = y, x%y
print(x)
if __name__ == '__main__':
def main() | File "/tmp/tmpovcmj6zw/tmphjgv3_vh.py", line 1
def main()
^
SyntaxError: expected ':'
| |
s863568253 | p02256 | u865281338 | 1511358042 | Python | Python3 | py | Runtime Error | 0 | 0 | 164 | def main()
x, y =[int(i) for i in input().split()]
while y != 0 :
x, y = y, x%y
print(x)
if __name__ == '__main__':
def main() | File "/tmp/tmpeu8zeku0/tmpoiutfjn7.py", line 1
def main()
^
SyntaxError: expected ':'
| |
s759651279 | p02256 | u865281338 | 1511358108 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | def main()
x, y =[int(i) for i in input().split()]
while y != 0 :
x, y = y, x%y
print(x)
if __name__ == '__main__':
def main() | File "/tmp/tmpa30nvhq8/tmptvp73gta.py", line 1
def main()
^
SyntaxError: expected ':'
| |
s324855584 | p02256 | u865281338 | 1511358147 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | def main()
x, y =[int(i) for i in input().split()]
while y != 0 :
x, y = y, x%y
print(x)
if __name__ == '__main__':
def main() | File "/tmp/tmp6laxwmxd/tmpuzup4wuz.py", line 1
def main()
^
SyntaxError: expected ':'
| |
s828200617 | p02256 | u865281338 | 1511358341 | Python | Python3 | py | Runtime Error | 0 | 0 | 151 | def main()
x, y =[int(i) for i in input().split()]
while y != 0 :
x, y = y, x%y
print(x)
if __name__ == '__main__':
main() | File "/tmp/tmpdnxwsavo/tmpja_lzzma.py", line 1
def main()
^
SyntaxError: expected ':'
| |
s330907569 | p02256 | u865281338 | 1511358438 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | def main()
x, y =[int(i) for i in input().split()]
while y != 0 :
x, y = y, x%y
print(x)
if __name__ == '__main__':
main() | File "/tmp/tmpp874jhhp/tmp_n_c9v0q.py", line 1
def main()
^
SyntaxError: expected ':'
| |
s004327869 | p02256 | u747709646 | 1511425670 | Python | Python | py | Runtime Error | 0 | 0 | 300 | dbg = False
a, b = list(map(int, input().split()))
if a > b:
x, y = a, b
else:
x, y = b, a
for i in range(1, int((y+1)/2)+1):
if y % i == 0:
gcd_tmp = int(y / i)
if dbg: print(gcd_tmp)
if x % gcd_tmp == 0:
print(gcd_tmp)
exit()
print(1) | Traceback (most recent call last):
File "/tmp/tmplln6ek8i/tmpznngccvl.py", line 3, in <module>
a, b = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s301801605 | p02256 | u500386459 | 1512108239 | Python | Python | py | Runtime Error | 0 | 0 | 235 | def gcd(a, b):
if a < b:
tmp = a
a = b
b = tmp
r = a % b
while r != 0:
a = b
b = r
r = a % b
return b
if __name__ == '__main__':
l = list(map(int, input().split()))
x = l[0]
y = l[1]
ans = gcd(x, y)
print(ans) | Traceback (most recent call last):
File "/tmp/tmpkn6oz4ll/tmpcxk1yrvv.py", line 16, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s533315853 | p02256 | u845015409 | 1512460119 | Python | Python | py | Runtime Error | 0 | 0 | 235 | def gcd(a, b):
if a < b:
tmp = a
a = b
b = tmp
r = a % b
while r != 0:
a = b
b = r
r = a % b
return b
if __name__ == '__main__':
l = list(map(int, input().split()))
x = l[0]
y = l[1]
ans = gcd(x, y)
print(ans) | Traceback (most recent call last):
File "/tmp/tmp2ngnuiu6/tmpn1sgarum.py", line 16, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s342888577 | p02256 | u183079216 | 1513339662 | Python | Python3 | py | Runtime Error | 20 | 5600 | 130 | a,b=[int(x) for x in input().split()]
x = max(a,b)
y = min(a,b)
while x % y >0:
res = x % y
x = y
y = res
print(res) | Traceback (most recent call last):
File "/tmp/tmps1nhhvyq/tmp36gokvum.py", line 1, in <module>
a,b=[int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s733852170 | p02256 | u183079216 | 1513339930 | Python | Python3 | py | Runtime Error | 20 | 5604 | 126 | a,b=[int(x) for x in input().split()]
x = max(a,b)
y = min(a,b)
while x%y>0:
res = x%y
x = y
y = res
print(res) | Traceback (most recent call last):
File "/tmp/tmpm8o007y9/tmpcb_k05f1.py", line 1, in <module>
a,b=[int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s876072259 | p02256 | u183079216 | 1513340117 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | a,b=[int(x) for x in input().split()]
x = max(a,b)
y = min(a,b)
while x%y>0:
x = y
y = x%y
print(y) | Traceback (most recent call last):
File "/tmp/tmp3rr1hdy0/tmp_16hx8yd.py", line 1, in <module>
a,b=[int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s693186914 | p02256 | u146752763 | 1513677814 | Python | Python | py | Runtime Error | 10 | 4664 | 392 | # coding:utf-8
def gcd(x,y):
a = x % y
y_ans = []
two_ans = []
for i in range(1,y + 1):
if y % i == 0:
y_ans.append(i)
for i in range(1,a + 1):
if a % i == 0:
two_ans.append(i)
yset = set(y_ans)
twoset = set(two_ans)
matched = list(yset & twoset)
print max(matched)
n = map(int, raw_input().split())
gcd(n[0],n[1]) | File "/tmp/tmp9jtfrtow/tmp7da_cpru.py", line 15
print max(matched)
^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s533304374 | p02256 | u146752763 | 1513677833 | Python | Python | py | Runtime Error | 10 | 4660 | 392 | # coding:utf-8
def gcd(x,y):
a = x % y
y_ans = []
two_ans = []
for i in range(1,y + 1):
if y % i == 0:
y_ans.append(i)
for i in range(1,a + 1):
if a % i == 0:
two_ans.append(i)
yset = set(y_ans)
twoset = set(two_ans)
matched = list(yset & twoset)
print max(matched)
n = map(int, raw_input().split())
gcd(n[0],n[1]) | File "/tmp/tmphivwv5ew/tmpmkahu2vg.py", line 15
print max(matched)
^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s143832828 | p02256 | u146752763 | 1513678130 | Python | Python | py | Runtime Error | 0 | 0 | 499 | # coding:utf-8
def gcd(x,y):
if x == y:
print x
return
else if x < y:
t = x
x = y
y = t
a = x % y
y_ans = []
two_ans = []
for i in range(1,y + 1):
if y % i == 0:
y_ans.append(i)
for i in range(1,a + 1):
if a % i == 0:
two_ans.append(i)
yset = set(y_ans)
twoset = set(two_ans)
matched = list(yset & twoset)
print max(matched)
n = map(int, raw_input().split())
gcd(n[0],n[1]) | File "/tmp/tmp12zpzrno/tmpdrgb8jgx.py", line 4
print x
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s968049178 | p02256 | u874332113 | 1515404223 | Python | Python3 | py | Runtime Error | 180 | 55272 | 183 | # naive
x, y = map(int, input().split())
s = min(x,y)
l = max(x,y)
for i in list(range(s+1)[::-1]):
if s % i == 0:
if l % i == 0:
print(i)
break
| Traceback (most recent call last):
File "/tmp/tmpo4bfi3xn/tmp32qd6c5c.py", line 3, in <module>
x, y = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s388468389 | p02256 | u343251190 | 1516172483 | Python | Python3 | py | Runtime Error | 0 | 0 | 211 | def gcd(a, b):
a, b = max(a, b), min(a, b)
while(b != 0):
a, b = b, a%b
print(a, b)
import sys
for line in sys.stdin:
a, b = map(int, input().split())
print(a, b)
gcd(a, b)
| ||
s493613372 | p02256 | u749243807 | 1516860693 | Python | Python3 | py | Runtime Error | 0 | 0 | 154 | data = [int(n) for n in input()];
def gcd(m, n):
m = m % n;
if m == 0:
return n;
return gcd(n, m);
print(gcd(max(data), min(data));
| File "/tmp/tmpdq40y90e/tmpc3s1s_un.py", line 9
print(gcd(max(data), min(data));
^
SyntaxError: invalid syntax
| |
s089165430 | p02256 | u749243807 | 1516860729 | Python | Python3 | py | Runtime Error | 0 | 0 | 165 | data = [int(n) for n in input().split(" ")];
def gcd(m, n):
m = m % n;
if m == 0:
return n;
return gcd(n, m);
print(gcd(max(data), min(data));
| File "/tmp/tmp9wizgd6t/tmp2ywzvl_g.py", line 9
print(gcd(max(data), min(data));
^
SyntaxError: invalid syntax
| |
s324112296 | p02256 | u770698847 | 1517552839 | Python | Python | py | Runtime Error | 10 | 4656 | 424 | # coding: UTF-8
def common_divisor(x,y):
if x >= y:
x = x % y
for i in range(1,x):
if y % i == 0 and x % i == 0:
divisor = i
return divisor
else:
for i in range(1,x):
if y % i == 0 and x % i == 0:
divisor = i
return divisor
num1,num2 = raw_input().split()
maximam = common_divisor(int(num1), int(num2))
print(maximam)
| Traceback (most recent call last):
File "/tmp/tmp5el5gjmh/tmp0rxdcy4v.py", line 15, in <module>
num1,num2 = raw_input().split()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s832512208 | p02256 | u770698847 | 1517554666 | Python | Python | py | Runtime Error | 0 | 0 | 838 | # coding: UTF-8
def common_div(x,y):
divisor = 0
x_mul = 0
if x > y:
x = x % y
for i in range(1,x+1):
if y % i == 0 and x % i == 0:
divisor = i
return divisor
elif x == y:
divisor = x
return divisor
else:
for i in [2,3,5,7]:
if x % i == 0:
x_mul = i
if x_mul != 0:
for j in x_mul * range(1,x+1):
if y % j == 0 and x % j == 0:
divisor = j
if x <= j:
break
return divisor
else:
for k in range(1,x+1):
if y % i == 0 and x % i == 0:
divisor = i
return divisor
num1,num2 = raw_input().split()
maximam = common_div(int(num1), int(num2))
print(maximam)
| File "/tmp/tmpj269qmse/tmp0qbvrmik.py", line 23
break
^^^^^
SyntaxError: 'break' outside loop
| |
s533700816 | p02256 | u650712316 | 1517555237 | Python | Python3 | py | Runtime Error | 0 | 0 | 147 | in = input().split()
A = int(in[0])
B = int(in[1])
if A < B:
v = B
B = A
A = v
R = A % B
while R !=0:
R = A % B
A = B
B = R
return A
| File "/tmp/tmphl71jq_y/tmpkyys00eu.py", line 1
in = input().split()
^^
SyntaxError: invalid syntax
| |
s840889154 | p02256 | u177808190 | 1517573792 | Python | Python3 | py | Runtime Error | 20 | 5600 | 246 | def gcd(x, y):
if x < y:
x = tmp
x = y
y = tmp
while y > 0:
r = x % y
x = y
y = r
return x
if __name__ == '__main__':
a, b = [int(x) for x in input().split()]
print (gcd(a, b))
| Traceback (most recent call last):
File "/tmp/tmp1f3wt08v/tmpp2u2hzmg.py", line 13, in <module>
a, b = [int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s508161271 | p02256 | u177808190 | 1517573802 | Python | Python3 | py | Runtime Error | 20 | 5600 | 246 | def gcd(x, y):
if x < y:
x = tmp
x = y
y = tmp
while y > 0:
r = x % y
x = y
y = r
return x
if __name__ == '__main__':
a, b = [int(x) for x in input().split()]
print (gcd(a, b))
| Traceback (most recent call last):
File "/tmp/tmpr3ysi8a_/tmpegk6pw0d.py", line 13, in <module>
a, b = [int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s892427190 | p02256 | u299231628 | 1519285106 | Python | Python3 | py | Runtime Error | 0 | 0 | 305 | def isprime(n):
if n < 2: return 0
elif n == 2: return 1
if n % 2 == 0: return 0
for i in range(3, n, 2):
if i >= n/i: return 1
if n % i == 0 : return 0
return 1
N = int(input())
n = [int(input()) for i in range(N)]
a = [i for i in n if isprime(i)]
print(len(a))
| Traceback (most recent call last):
File "/tmp/tmpqs51hozm/tmpbcwiwqop.py", line 13, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s403424874 | p02256 | u464859367 | 1522056527 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | n = input().split()
x = n[0]
y = n[1]
if x < y:
x, y = y, x
while y > 0:
r = x % y
x = y
y = r
print(x)
| Traceback (most recent call last):
File "/tmp/tmpue_agp0n/tmpcnsh4w3r.py", line 1, in <module>
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s472021472 | p02256 | u269391636 | 1523283373 | Python | Python | py | Runtime Error | 0 | 0 | 127 | a = input(),split()
t , u = int(a[0]),int(b[0])
def c(x,y):
if x % y:
return c(y,x%y)
else:
return y
print(c(t,u))
| Traceback (most recent call last):
File "/tmp/tmp4bmm7n6c/tmpcg5mjwlk.py", line 1, in <module>
a = input(),split()
^^^^^^^
EOFError: EOF when reading a line
| |
s979458292 | p02256 | u269391636 | 1523283391 | Python | Python | py | Runtime Error | 0 | 0 | 127 | a = input().split()
t , u = int(a[0]),int(b[0])
def c(x,y):
if x % y:
return c(y,x%y)
else:
return y
print(c(t,u))
| Traceback (most recent call last):
File "/tmp/tmpm4oyyl4a/tmplfsam5l3.py", line 1, in <module>
a = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s585219314 | p02256 | u269391636 | 1523283434 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | a = input().split()
t , u = int(a[0]),int(b[0])
def c(x,y):
if x % y:
return c(y,x%y)
else:
return y
print(c(t,u))
| Traceback (most recent call last):
File "/tmp/tmp003rim3h/tmp1z08ybj0.py", line 1, in <module>
a = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s385121913 | p02256 | u269391636 | 1523283470 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | a = input().split()
t , u = int(a[0]),int(b[0])
def c(x,y):
if x % y:
return(c(y,x%y))
else:
return(y)
print(c(t,u))
| Traceback (most recent call last):
File "/tmp/tmpn6wd_pco/tmphoatc5c1.py", line 1, in <module>
a = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s353740887 | p02256 | u269391636 | 1523283651 | Python | Python3 | py | Runtime Error | 0 | 0 | 147 | a = list(map(int, input().split()))
t , u = int(a[0]),int(b[0])
def c(x,y):
if x % y:
return(c(y,x%y))
else:
return(y)
print(c(t,u))
| Traceback (most recent call last):
File "/tmp/tmp8w29nk63/tmp20swexye.py", line 1, in <module>
a = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s255680317 | p02256 | u269391636 | 1523283742 | Python | Python | py | Runtime Error | 0 | 0 | 137 | a = list(map(int, input().split()))
t , u = a[0],a[1]
def c(x,y):
if x % y:
return(c(y,x%y))
else:
return(y)
print(c(t,u))
| Traceback (most recent call last):
File "/tmp/tmpmwjfh39k/tmp0jrd2p82.py", line 1, in <module>
a = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s853407988 | p02256 | u269391636 | 1523283764 | Python | Python | py | Runtime Error | 0 | 0 | 137 | a = list(map(int, input().split()))
t , u = a[0],a[1]
def c(x,y):
if x % y:
return(c(y,x%y))
else:
return(y)
print(c(t,u))
| Traceback (most recent call last):
File "/tmp/tmp3a42o007/tmpdab60jnf.py", line 1, in <module>
a = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s906570431 | p02256 | u269391636 | 1523283786 | Python | Python | py | Runtime Error | 0 | 0 | 136 | a = list(map(int, input().split()))
t , u = a[0],a[1]
def c(x,y):
if x % y:
return(c(y,x%y))
else:
return(y)
print(u//20)
| Traceback (most recent call last):
File "/tmp/tmpdvn2yy8b/tmpn84l4xlo.py", line 1, in <module>
a = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s727453973 | p02256 | u269391636 | 1523283824 | Python | Python | py | Runtime Error | 0 | 0 | 137 | a = list(map(int, input().split()))
t , u = a[0],a[1]
def c(x,y):
if x % y:
return(c(y,x%y))
else:
return(y)
print(c(t,u))
| Traceback (most recent call last):
File "/tmp/tmpenj3n840/tmpr3ly14te.py", line 1, in <module>
a = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s386934002 | p02256 | u498211963 | 1523292923 | Python | Python3 | py | Runtime Error | 0 | 0 | 79 | import math
a=read().split()
b=list(map(int,a))
print(math.gcd(b[0],b[1]),\n)
| File "/tmp/tmpets7vii5/tmp_4xndvmq.py", line 4
print(math.gcd(b[0],b[1]),\n)
^
SyntaxError: unexpected character after line continuation character
| |
s574219777 | p02256 | u498211963 | 1523292995 | Python | Python3 | py | Runtime Error | 0 | 0 | 72 | import math
a=read()
b=a.split
print(math.gcd(int(b[0]),int(b[1])),\n)
| File "/tmp/tmpswpcv30s/tmpah6rbzs0.py", line 4
print(math.gcd(int(b[0]),int(b[1])),\n)
^
SyntaxError: unexpected character after line continuation character
| |
s990008798 | p02256 | u017435045 | 1523942539 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | x, y = [int(x) for x in input().split()]
def gcd(a,b):
m = a%b
return gcd(b,m) if r else n
print(gcd(x,y))
| Traceback (most recent call last):
File "/tmp/tmphoib8ox9/tmpm8igvuq8.py", line 1, in <module>
x, y = [int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s170026663 | p02256 | u017435045 | 1523942542 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | x, y = [int(x) for x in input().split()]
def gcd(a,b):
m = a%b
return gcd(b,m) if r else n
print(gcd(x,y))
| Traceback (most recent call last):
File "/tmp/tmpodj3k5p3/tmpkiexh197.py", line 1, in <module>
x, y = [int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s344367539 | p02256 | u252641015 | 1524038285 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | def gcd(x,y):
if y==0:
return x
else:
return gcd(y,x%y)
x,y=map(int,raw_input().split())
print(gcd(x,y))
| Traceback (most recent call last):
File "/tmp/tmppzfab9gm/tmp_23ofufc.py", line 7, in <module>
x,y=map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s692309367 | p02256 | u252641015 | 1524038352 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | def gcd(x,y):
if y==0:
return x
else:
return gcd(y,x%y)
x,y=map(int,raw_input().split())
print(gcd(x,y))
| Traceback (most recent call last):
File "/tmp/tmpqc7apnrc/tmpihmi57x6.py", line 7, in <module>
x,y=map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s315302108 | p02256 | u252641015 | 1524038442 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | def gcd(x,y):
if y==0:
return x
else:
return gcd(y,x%y)
x,y=map(int,raw_input().split())
print(gcd(x,y))
| Traceback (most recent call last):
File "/tmp/tmpxz2765gu/tmpvowv8wxp.py", line 7, in <module>
x,y=map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s515184674 | p02256 | u477717106 | 1524039269 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | line=input().split()
x=int(line[0])
y=int(line[1])
r=x%y
while(r>0):
x=y
y=r
r=x%y
return y
print(y)
| File "/tmp/tmpkzyh0qm7/tmpuwiyknh7.py", line 9
return y
^^^^^^^^
SyntaxError: 'return' outside function
| |
s989144490 | p02256 | u896240461 | 1524039371 | Python | Python3 | py | Runtime Error | 20 | 5596 | 170 | def gcd(x,y):
if x < y:
swap(x,y)
while y > 0:
r = x % y
x = y
y = r
return x
x,y = map(int,input().split())
print(gcd(x,y))
| Traceback (most recent call last):
File "/tmp/tmpx3dcta8e/tmpx6pq8lip.py", line 10, in <module>
x,y = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s811741399 | p02256 | u684325232 | 1524039582 | Python | Python | py | Runtime Error | 0 | 0 | 108 | list=[int(i) for i in input().split()]
a=list[0]
b=list[1]
while a%b!=0:
c=a%b
a=b
b=c
print(c)
| Traceback (most recent call last):
File "/tmp/tmprsml1u64/tmp060opd5d.py", line 1, in <module>
list=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s044949900 | p02256 | u684325232 | 1524039624 | Python | Python3 | py | Runtime Error | 20 | 5604 | 108 | list=[int(i) for i in input().split()]
a=list[0]
b=list[1]
while a%b!=0:
c=a%b
a=b
b=c
print(c)
| Traceback (most recent call last):
File "/tmp/tmpf02evu18/tmpouo88o4u.py", line 1, in <module>
list=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s637081684 | p02256 | u776834150 | 1524039820 | Python | Python3 | py | Runtime Error | 0 | 0 | 197 | line=input().split()
x=int(line[0])
y=int(line[1])
if x<y:
temp=x
x=y
y=temp
def greatst(x,y):
if x==y:
return x
else:
return greatst(y,x%y)
print(greatst(x,y))
| Traceback (most recent call last):
File "/tmp/tmpxozvtfab/tmpt31xu1u3.py", line 1, in <module>
line=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s438377023 | p02256 | u684325232 | 1524040334 | Python | Python | py | Runtime Error | 0 | 0 | 225 | list=[int(i) for i in input().split()]
if list[0]>list[1]:
a=list[0]
b=list[1]
else:
b=list[0]
a=list[1]
if a%b==0:
print (b)
else:
while a%b!=0:
c=a%b
a=b
b=c
print(c)
| Traceback (most recent call last):
File "/tmp/tmp8alhmb6l/tmpcv29l7q9.py", line 1, in <module>
list=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s621822783 | p02256 | u684325232 | 1524040343 | Python | Python | py | Runtime Error | 0 | 0 | 225 | list=[int(i) for i in input().split()]
if list[0]>list[1]:
a=list[0]
b=list[1]
else:
b=list[0]
a=list[1]
if a%b==0:
print (b)
else:
while a%b!=0:
c=a%b
a=b
b=c
print(c)
| Traceback (most recent call last):
File "/tmp/tmpzn3rcpjc/tmpxpfmcngm.py", line 1, in <module>
list=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s531456197 | p02256 | u684325232 | 1524040380 | Python | Python | py | Runtime Error | 0 | 0 | 229 | list=[int(i) for i in input().split()]
if list[0]>list[1]:
a=list[0]
b=list[1]
else:
b=list[0]
a=list[1]
if a%b==0:
print (b)
else:
while a%b!=0:
c=a%b
a=b
b=c
print(c)
| Traceback (most recent call last):
File "/tmp/tmpu5nlvp1r/tmpij4ebtp3.py", line 1, in <module>
list=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s627351248 | p02256 | u684325232 | 1524040391 | Python | Python | py | Runtime Error | 0 | 0 | 229 | list=[int(i) for i in input().split()]
if list[0]>list[1]:
a=list[0]
b=list[1]
else:
b=list[0]
a=list[1]
if a%b==0:
print (b)
else:
while a%b!=0:
c=a%b
a=b
b=c
print(c)
| Traceback (most recent call last):
File "/tmp/tmp8afemwwb/tmpm6qj_5v0.py", line 1, in <module>
list=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s955044470 | p02256 | u684325232 | 1524040824 | Python | Python | py | Runtime Error | 0 | 0 | 223 | list=[int(i) for i in input().split()]
if list[0]>list[1]:
a=list[0]
b=list[1]
else:
b=list[0]
a=list[1]
if a%b==0:
print (b)
else:
while b>0:
c=a%b
a=b
b=c
print(a)
| Traceback (most recent call last):
File "/tmp/tmpv54i8lth/tmpt8iwjjw_.py", line 1, in <module>
list=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s958431100 | p02256 | u684325232 | 1524040833 | Python | Python | py | Runtime Error | 0 | 0 | 223 | list=[int(i) for i in input().split()]
if list[0]>list[1]:
a=list[0]
b=list[1]
else:
b=list[0]
a=list[1]
if a%b==0:
print (b)
else:
while b>0:
c=a%b
a=b
b=c
print(a)
| Traceback (most recent call last):
File "/tmp/tmpe_5z093p/tmp1skv3f1t.py", line 1, in <module>
list=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.