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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s149889224 | p02411 | u671553883 | 1470114292 | Python | Python3 | py | Runtime Error | 0 | 0 | 344 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
if m + f <= 80:
print('A')
elif m + f == 60 < 80:
print('B')
elif m + f == 50 < 65:
print('C')
if m + f == 30 < 50:
print('D')
elif r <= 50:
print('C')
... | Traceback (most recent call last):
File "/tmp/tmptg4m__4b/tmpr83ptef7.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s834798084 | p02411 | u671553883 | 1470114318 | Python | Python3 | py | Runtime Error | 0 | 0 | 338 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
if m + f <= 80:
print('A')
if m + f == 60 < 80:
print('B')
if m + f == 50 < 65:
print('C')
if m + f == 30 < 50:
print('D')
if r <= 50:
print('C')
else:
... | Traceback (most recent call last):
File "/tmp/tmprj6i2sne/tmpkn5jw0p4.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s624348976 | p02411 | u644636020 | 1470114371 | Python | Python3 | py | Runtime Error | 0 | 0 | 399 | while True:
m, f, r = [int(i) for i in input().solit()]
if m == f == r == -1:
break
if m == -1 or f == -1:
print("F")
if m + f >= 80:
print("A")
if 65 <= m + f < 80:
print("B")
if 50 <= m + f < 65:
print("C")
if 30 <= m + f < 50:
print("D... | Traceback (most recent call last):
File "/tmp/tmp8pmwwph8/tmp5rikpn0d.py", line 2, in <module>
m, f, r = [int(i) for i in input().solit()]
^^^^^^^
EOFError: EOF when reading a line
| |
s822395683 | p02411 | u644636020 | 1470114443 | Python | Python3 | py | Runtime Error | 0 | 0 | 420 | while True:
m, f, r = [int(i) for i in input().solit()]
if m == f == r == -1:
break
if m == -1 or f == -1:
print("F")
if m + f >= 80:
print("A")
if 65 <= m + f < 80:
print("B")
if 50 <= m + f < 65:
print("C")
if 30 <= m + f < 50:
print("D... | Traceback (most recent call last):
File "/tmp/tmp01q2h53d/tmp0k93_8mh.py", line 2, in <module>
m, f, r = [int(i) for i in input().solit()]
^^^^^^^
EOFError: EOF when reading a line
| |
s628810249 | p02411 | u671553883 | 1470114510 | Python | Python3 | py | Runtime Error | 0 | 0 | 344 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
if m + f <= 80:
print('A')
elif m + f == 60 < 80:
print('B')
elif m + f == 50 < 65:
print('C')
if m + f == 30 < 50:
print('D')
elif r <= 50:
print('C')
... | Traceback (most recent call last):
File "/tmp/tmprn6ce0ls/tmp92oo5i0t.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s139664790 | p02411 | u671553883 | 1470114590 | Python | Python3 | py | Runtime Error | 0 | 0 | 368 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
if m + f <= 80:
print('A')
elif m + f == 60 < m + f ==80:
print('B')
elif m + f == 50 < m + f ==65:
print('C')
if m + f == 30 < m + f ==50:
print('D')
elif r <= 50:
... | Traceback (most recent call last):
File "/tmp/tmpkgnhpy6v/tmppd44wm16.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s514207317 | p02411 | u644636020 | 1470114595 | Python | Python3 | py | Runtime Error | 0 | 0 | 423 | while True:
m, f, r = [int(i) for i in input().solit()]
if m == f == r == -1:
break
if m == -1 or f == -1:
print("F")
if m + f >= 80:
print("A")
if 65 <= m + f < 80:
print("B")
if 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
if r >... | Traceback (most recent call last):
File "/tmp/tmp06geerdv/tmpuo38o6wp.py", line 2, in <module>
m, f, r = [int(i) for i in input().solit()]
^^^^^^^
EOFError: EOF when reading a line
| |
s353808100 | p02411 | u671553883 | 1470114612 | Python | Python3 | py | Runtime Error | 0 | 0 | 362 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
if m + f <= 80:
print('A')
if m + f == 60 < m + f ==80:
print('B')
if m + f == 50 < m + f ==65:
print('C')
if m + f == 30 < m + f ==50:
print('D')
if r <= 50:
... | Traceback (most recent call last):
File "/tmp/tmpi7_cjp3y/tmpdztcbvpi.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s839712168 | p02411 | u644636020 | 1470114645 | Python | Python3 | py | Runtime Error | 0 | 0 | 433 | while True:
m, f, r = [int(i) for i in input().solit()]
if m == f == r == -1:
break
elif m == -1 or f == -1:
print("F")
elif m + f >= 80:
print("A")
elif 65 <= m + f < 80:
print("B")
elif 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
... | Traceback (most recent call last):
File "/tmp/tmp769k1_ml/tmpjbn8jxhr.py", line 2, in <module>
m, f, r = [int(i) for i in input().solit()]
^^^^^^^
EOFError: EOF when reading a line
| |
s400548851 | p02411 | u644636020 | 1470114676 | Python | Python3 | py | Runtime Error | 0 | 0 | 421 | while True:
m, f, r = [int(i) for i in input().solit()]
if m == f == r == -1:
break
elif m == -1 or f == -1:
print("F")
elif m + f >= 80:
print("A")
elif 65 <= m + f < 80:
print("B")
elif 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
... | File "/tmp/tmpu8kx_j0u/tmpec34oo2w.py", line 25
else
^
SyntaxError: expected ':'
| |
s169654168 | p02411 | u671553883 | 1470114705 | Python | Python3 | py | Runtime Error | 0 | 0 | 368 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
if m + f <= 80:
print('A')
if m + f <= 60 and m + f > 80:
print('B')
if m + f <= 50 and m + f > 65:
print('C')
if m + f <= 30 and m + f >50:
print('D')
if r <= 50:
... | Traceback (most recent call last):
File "/tmp/tmp5q4rb9us/tmps9tx0doe.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s646068105 | p02411 | u498041957 | 1470114727 | Python | Python3 | py | Runtime Error | 0 | 0 | 251 | while True:
if m == -1 or f == -1 or m + f < 30:
print('F')
elif m + f >= 80:
print('A')
elif m + f >= 65:
print('B')
elif m + f >= 50:
print('C')
elif m + f >= 30:
print('C' if r >= 50 else 'D') | File "/tmp/tmp5psalbbf/tmpp6veidq9.py", line 2
if m == -1 or f == -1 or m + f < 30:
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s610160867 | p02411 | u435917115 | 1470114744 | Python | Python3 | py | Runtime Error | 0 | 0 | 424 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f == r == -1:
break
elif m or f == -1:
print('F')
elif m + f >= 80:
print('A')
elif m + f >= 65 < 79:
print('B')
elif m + f >= 50 < 64:
print('C')
elif m + f >= 30 < 49:
prin... | File "/tmp/tmpgu8rdmv1/tmpryhmzp49.py", line 23
r >= 50:
^
SyntaxError: invalid syntax
| |
s376014471 | p02411 | u498041957 | 1470114785 | Python | Python3 | py | Runtime Error | 0 | 0 | 251 | while True:
if m == -1 or f == -1 or m + f < 30:
print('F')
elif m + f >= 80:
print('A')
elif m + f >= 65:
print('B')
elif m + f >= 50:
print('C')
elif m + f >= 30:
print('C' if r >= 50 else 'D') | File "/tmp/tmp1xi3legd/tmpyybzbpm4.py", line 2
if m == -1 or f == -1 or m + f < 30:
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s789656706 | p02411 | u644636020 | 1470114800 | Python | Python3 | py | Runtime Error | 0 | 0 | 421 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f == r == -1:
break
elif m == -1 or f == -1:
print("F")
elif m + f >= 80:
print("A")
elif 65 <= m + f < 80:
print("B")
elif 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
... | File "/tmp/tmp2cx1uzuk/tmpl8gzdp1q.py", line 25
else
^
SyntaxError: expected ':'
| |
s789974633 | p02411 | u435917115 | 1470114816 | Python | Python3 | py | Runtime Error | 0 | 0 | 435 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f == r == -1:
break
elif m or f == -1:
print('F')
elif m + f >= 80:
print('A')
elif m + f >= 65 < 79:
print('B')
elif m + f >= 50 < 64:
print('C')
elif m + f >= 30 < 49:
prin... | File "/tmp/tmp1q5at4vk/tmp4a_bb113.py", line 23
r >= 50:
^
SyntaxError: invalid syntax
| |
s668632645 | p02411 | u671553883 | 1470114900 | Python | Python3 | py | Runtime Error | 0 | 0 | 368 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
if m + f <= 80:
return 'A'
if m + f <= 60 and m + f > 80:
return 'B'
if m + f <= 50 and m + f > 65:
return 'C'
if m + f <= 30 and m + f >50:
return 'D'
if r <= 50:
... | File "/tmp/tmphk4ayhbi/tmppyjw528w.py", line 8
return 'A'
^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s029780199 | p02411 | u671553883 | 1470115002 | Python | Python3 | py | Runtime Error | 0 | 0 | 368 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
if m + f <= 80:
return 'A'
if m + f <= 60 and m + f > 80:
return 'B'
if m + f <= 50 and m + f > 65:
return 'C'
if m + f <= 30 and m + f > 50:
return 'D'
if r <= 50:
... | File "/tmp/tmp123exjr8/tmpabkhg89e.py", line 8
return 'A'
^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s339405901 | p02411 | u204883389 | 1470115217 | Python | Python3 | py | Runtime Error | 0 | 0 | 428 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f == r == -1:
break
if (m == -1 or f == -1) or (m + f < 30):
print("F")
if m + f >= 80:
print("A")
if 65 <= m + f < 80:
print("B")
if 50 <= m + f < 65:
print("C")
if 30 <= m + f < 50... | File "/tmp/tmpyxdtukcd/tmp9twb200t.py", line 20
elif r >= 50:
^^^^
SyntaxError: invalid syntax
| |
s937562042 | p02411 | u600195957 | 1470115314 | Python | Python3 | py | Runtime Error | 0 | 0 | 376 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f == r == -1:
break
elif m or f == -1:
return F
elif m + f >= 80:
print("A")
elif 65 <= m+f < 80:
print("B")
elif 50 <= m+f < 65:
print("C")
elif 30 <= m+f < 50:
if r >= 50:
print("C")
... | File "/tmp/tmpc_ind0ju/tmpf3hdspgo.py", line 7
return F
^^^^^^^^
SyntaxError: 'return' outside function
| |
s410374641 | p02411 | u600195957 | 1470115338 | Python | Python3 | py | Runtime Error | 0 | 0 | 385 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f == r == -1:
break
elif m or f == -1:
return F
elif m + f >= 80:
print("A")
elif 65 <= m+f < 80:
print("B")
elif 50 <= m+f < 65:
print("C")
elif 30 <= m+f < 50:
if r >= 50:
print("C")
... | File "/tmp/tmp6d7w8ua2/tmpfavnw9zd.py", line 7
return F
^^^^^^^^
SyntaxError: 'return' outside function
| |
s895162253 | p02411 | u671553883 | 1470116486 | Python | Python3 | py | Runtime Error | 0 | 0 | 315 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65:
print('C')
else:
print('A')
| Traceback (most recent call last):
File "/tmp/tmp3ap0m55y/tmpjpzxdq34.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s120467080 | p02411 | u085472528 | 1470116502 | Python | Python3 | py | Runtime Error | 0 | 0 | 346 |
while True:
m, f, r = [int(i) for i in input().split()]
if m == f == r == -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65:
print('C')
elif total < 80:
print('B')
... | File "/tmp/tmp8wys6w5t/tmpq3ic5wvg.py", line 2
while True:
IndentationError: unexpected indent
| |
s207668827 | p02411 | u671553883 | 1470116534 | Python | Python3 | py | Runtime Error | 0 | 0 | 355 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65:
print('C')
elif total < 80:
print('B')
... | Traceback (most recent call last):
File "/tmp/tmpt8hnb4fi/tmp9zbkxzm3.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s477281987 | p02411 | u382316013 | 1470116563 | Python | Python3 | py | Runtime Error | 0 | 0 | 305 | while True:
m, f, r = [int(i) for i in input().split]
if m == f == r == -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65:
print('C')
elif total < 80:
print('B')
else:
print('A') | Traceback (most recent call last):
File "/tmp/tmpodfj_t8p/tmpeovd87d4.py", line 2, in <module>
m, f, r = [int(i) for i in input().split]
^^^^^^^
EOFError: EOF when reading a line
| |
s286996862 | p02411 | u671553883 | 1470116602 | Python | Python3 | py | Runtime Error | 0 | 0 | 366 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65 or r > 50:
print('C')
elif total < 80:
pri... | Traceback (most recent call last):
File "/tmp/tmpt0lspqbc/tmp_8m_w_ek.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s583721514 | p02411 | u757827098 | 1470116610 | Python | Python3 | py | Runtime Error | 0 | 0 | 336 | while True:
m,f,r =[int(i) for i in input().split()]
if m == f == r ==-1:
break
total =m+f
if m ==-1 or f == -1 or total <30:
print("F")
elif total < 50 and r < 50:
print("D")
elif total <65
print("C")
elif total <80:
pirnt("B")
else:
... | File "/tmp/tmpyx8om8dc/tmp0w6d74i7.py", line 14
elif total <65
^
SyntaxError: expected ':'
| |
s359174066 | p02411 | u671553883 | 1470116622 | Python | Python3 | py | Runtime Error | 0 | 0 | 367 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f ==r -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65 or r >= 50:
print('C')
elif total < 80:
pr... | Traceback (most recent call last):
File "/tmp/tmpk3kigrhi/tmp1_2c2fdf.py", line 2, in <module>
m, f, r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s511455566 | p02411 | u382316013 | 1470116723 | Python | Python3 | py | Runtime Error | 0 | 0 | 337 | while True:
m, f, r = [int(i) for i in input().split]
if m == f == r == -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65:
print('C')
elif total < 80:
print('B')
else:
... | Traceback (most recent call last):
File "/tmp/tmpz64spc_y/tmp0b1qz5_8.py", line 2, in <module>
m, f, r = [int(i) for i in input().split]
^^^^^^^
EOFError: EOF when reading a line
| |
s885843149 | p02411 | u661284763 | 1470116754 | Python | Python3 | py | Runtime Error | 0 | 0 | 359 | while True:
m, f, r = [int(i) for i in input().split()]
if m == f == r == -1:
break
total = m + f
if m == -1 or f == -1 or total< 30:
print('F')
elif total < 50 anfd r < 50:
print('D')
elif total < 65:
print('C')
elif total < 80:
print('B'... | File "/tmp/tmptaifpii7/tmpvovfuzrw.py", line 11
elif total < 50 anfd r < 50:
^^^^
SyntaxError: invalid syntax
| |
s679194187 | p02411 | u382316013 | 1470116835 | Python | Python3 | py | Runtime Error | 0 | 0 | 341 | while True:
m, f, r = [int(i) for i in input().split]
if m == f == r == -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65:
print('C')
elif total < 80:
print('B')
els... | Traceback (most recent call last):
File "/tmp/tmpre8zigrf/tmp6ykyv4yo.py", line 2, in <module>
m, f, r = [int(i) for i in input().split]
^^^^^^^
EOFError: EOF when reading a line
| |
s546109669 | p02411 | u382316013 | 1470116870 | Python | Python3 | py | Runtime Error | 0 | 0 | 342 | while True:
m, f, r = [int(i) for i in input().split]
if m == f == r == -1:
break
total = m + f
if m == -1 or f == -1 or total < 30:
print('F')
elif total < 50 and r < 50:
print('D')
elif total < 65:
print('C')
elif total < 80:
print('B')
el... | Traceback (most recent call last):
File "/tmp/tmpmj5jx6ew/tmp3b_1oatf.py", line 2, in <module>
m, f, r = [int(i) for i in input().split]
^^^^^^^
EOFError: EOF when reading a line
| |
s793195230 | p02411 | u587193722 | 1470151031 | Python | Python3 | py | Runtime Error | 20 | 7668 | 841 | date=[[],[],[]]
a,b,c=0,0,0
while True:
if a < 0 and b < 0 and c < 0:
break
else:
a,b,c =[int(i) for i in input().split()]
date[0].append(a)
date[1].append(b)
date[2].append(c)
for h in range(0,len(date[0])-1):
if date[0][h] == -1 or date[1][h] == -1:
print("F")
elif date... | Traceback (most recent call last):
File "/tmp/tmp8o0zl40g/tmp7cdkenud.py", line 7, in <module>
a,b,c =[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s884619650 | p02411 | u831244171 | 1477544714 | Python | Python | py | Runtime Error | 0 | 0 | 306 | n,m = map(int,raw_input().split())
A = [[0 for i in range(m)] for i in range(n)]
B = [ 0 for i in range(m)]
for i in range(n):
A[i] = map(int,raw_input().split())
for i in range(m):
B[i] = input()
for i in range(n):
sum = 0
for j in range(m):
sum += A[i][j] * B[j]
print sum | File "/tmp/tmpu3nrmmrz/tmpmd5qnb2p.py", line 15
print sum
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s044051396 | p02411 | u660912567 | 1478700414 | Python | Python3 | py | Runtime Error | 20 | 7692 | 311 | while True:
points = list(map(int,input().split()))
if points==[-1,-1,-1]: break
sum_pt = sum(points[0:2])
if points[0]==-1 or points[1]==-1 or sum_pt<30: print('F')
elif sum_pt<50 and point[2]<50: print('D')
elif sum_pt<65: print('C')
elif sum_pt<80: print('B')
else: print('A') | Traceback (most recent call last):
File "/tmp/tmp4gbji401/tmpuelqja_s.py", line 2, in <module>
points = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s914356298 | p02411 | u546285759 | 1479974583 | Python | Python3 | py | Runtime Error | 0 | 0 | 381 | while True:
m, f, r = map(int, input().split())
if (m, f, r) = (-1, -1, -1):
break
if m+f >= 80:
print("A")
elif m+f >= 65 and m+f < 80:
print("B")
elif m+f >= 50 and m+f < 65:
print("C")
elif m+f >= 30 and m+f < 50:
if r >= 50:
print("C")
... | File "/tmp/tmp2r4wo3kn/tmplv7tr5yc.py", line 3
if (m, f, r) = (-1, -1, -1):
^
SyntaxError: invalid syntax
| |
s521990304 | p02411 | u494314211 | 1481440459 | Python | Python3 | py | Runtime Error | 0 | 0 | 288 | while(True)
m,f,r=list(map(int,input().split()))
if m==-1 and f==-1 and r==-1:
break
if m==-1 or f==-1:
print("F")
elif m+f>=80:
print("A")
elif m+f>=65:
print("B")
elif m+f>=50:
print("C")
elif m+f>=30:
if r>=50:
print("C")
else:
print("D")
else:
print("F") | File "/tmp/tmp6jge_vcp/tmp_x9mdzh6.py", line 1
while(True)
^
SyntaxError: expected ':'
| |
s281354530 | p02411 | u144068724 | 1486232805 | Python | Python3 | py | Runtime Error | 0 | 0 | 401 | while(1):
m,f,r = map(int,input().split())
if (m == -1 or f == -1) or m + f < 30:
print("F")
elif 80 <= m + f :
print("A")
elif 65 <= m + f < 80:
print("B")
elif 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
if r >= 50:
print("C")
els... | File "/tmp/tmpq5s07uih/tmp1r66pafk.py", line 2
m,f,r = map(int,input().split())
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s136711935 | p02411 | u144068724 | 1486232826 | Python | Python3 | py | Runtime Error | 0 | 0 | 400 | while 1:
m,f,r = map(int,input().split())
if (m == -1 or f == -1) or m + f < 30:
print("F")
elif 80 <= m + f :
print("A")
elif 65 <= m + f < 80:
print("B")
elif 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
if r >= 50:
print("C")
else... | File "/tmp/tmpk9n8joru/tmpd7usk8qe.py", line 2
m,f,r = map(int,input().split())
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s758345191 | p02411 | u144068724 | 1486233248 | Python | Python3 | py | Runtime Error | 0 | 0 | 406 | while 1:
m,f,r = map(int,input().split())
if m == -1 or f == -1 or m + f < 30:
print("F")
elif 80 <= m + f :
print("A")
elif 65 <= m + f < 80:
print("B")
elif 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
if r >= 50:
print("C")
el... | Traceback (most recent call last):
File "/tmp/tmpln7_xb4w/tmpps9ew7sw.py", line 2, in <module>
m,f,r = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s116591714 | p02411 | u144068724 | 1486233355 | Python | Python3 | py | Runtime Error | 0 | 0 | 402 | while 1:
m,f,r = map(int,input().split())
if m == -1 or f == -1 or m + f < 30:
print("F")
elif 80 <= m + f :
print("A")
elif 65 <= m + f < 80:
print("B")
elif 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
if r >= 50:
print("C")
el... | Traceback (most recent call last):
File "/tmp/tmpfc11ianb/tmp5xcc4ttn.py", line 2, in <module>
m,f,r = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s640912811 | p02411 | u144068724 | 1486233497 | Python | Python3 | py | Runtime Error | 0 | 0 | 402 | while 1:
m,f,r = map(int,input().split())
if m == -1 or f == -1 or m + f < 30:
print("F")
elif 80 <= m + f :
print("A")
elif 65 <= m + f < 80:
print("B")
elif 50 <= m + f < 65:
print("C")
elif 30 <= m + f < 50:
if r >= 50:
print("C")
el... | Traceback (most recent call last):
File "/tmp/tmpzl_kd5vn/tmp_5q6m6k_.py", line 2, in <module>
m,f,r = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s035197160 | p02411 | u307520683 | 1486381679 | Python | Python | py | Runtime Error | 0 | 0 | 580 | while 1:
m,f,r=map(int,raw_input().split())
#m:Midterm exam f:final exam r:Retest
score=m+f
if m == -1 or f == -1 :
print 'F'
if r == -1 :
break
else :
if score >= 80:
print 'A'
else:
if score >= 65:
print 'B'
... | File "/tmp/tmpovoiz7bl/tmpq74yb7jc.py", line 1
while 1:
IndentationError: unexpected indent
| |
s716097714 | p02411 | u307520683 | 1486381743 | Python | Python | py | Runtime Error | 0 | 0 | 580 | while 1:
m,f,r=map(int,raw_input().split())
#m:Midterm exam f:final exam r:Retest
score=m+f
if m == -1 or f == -1 :
print 'F'
if r == -1 :
break
else :
if score >= 80:
print 'A'
else:
if score >= 65:
print 'B'
... | File "/tmp/tmp8lusltgy/tmpfekfs9bg.py", line 1
while 1:
IndentationError: unexpected indent
| |
s175751234 | p02411 | u307520683 | 1486381825 | Python | Python | py | Runtime Error | 0 | 0 | 579 | while 1:
m,f,r=map(int,raw_input().split())
#m:Midterm exam f:final exam r:Retest
score=m+f
if m == -1 or f == -1
if r == -1 :
break
else: print 'F'
else :
if score >= 80:
print 'A'
else:
if score >= 65:
print 'B'
... | File "/tmp/tmpleg189nf/tmph1mcu0vu.py", line 5
if m == -1 or f == -1
^
SyntaxError: expected ':'
| |
s840969211 | p02411 | u104171359 | 1486535407 | Python | Python3 | py | Runtime Error | 0 | 0 | 660 | #!usr/bin/env python3
import sys
def main():
while True:
# m, f, r = [int(score) for score in sys.stdin.readline().split()]
m, f, r = [int(score) for score in lines.split()]
if m == f == r == -1:
break
if m == -1 or f == -1:
print('F')
elif m+f >= 8... | Traceback (most recent call last):
File "/tmp/tmp6vdcjo7w/tmpshn_4cak.py", line 30, in <module>
main()
File "/tmp/tmp6vdcjo7w/tmpshn_4cak.py", line 9, in main
m, f, r = [int(score) for score in lines.split()]
^^^^^
NameError: name 'lines' is not defined
| |
s009587067 | p02411 | u130834228 | 1489044051 | Python | Python3 | py | Runtime Error | 0 | 0 | 314 | while(1):
m, f, r = map(int, input().split())
if m == -1 and f == -1 and r == -1:
break
if m == -1 or f = -1:
print("f")
elif m + f >= 80:
print("A")
elif m + f >= 65:
print("B")
elif m + f >= 50:
print("C")
elif m + f >= 30:
if r >= 50:
print("C")
else:
print("D")
else:
print("F") | File "/tmp/tmpouvxrccr/tmp4fh_6w11.py", line 6
if m == -1 or f = -1:
^
SyntaxError: invalid syntax
| |
s687827326 | p02411 | u130834228 | 1489044069 | Python | Python3 | py | Runtime Error | 0 | 0 | 314 | while(1):
m, f, r = map(int, input().split())
if m == -1 and f == -1 and r == -1:
break
if m == -1 or f = -1:
print("f")
elif m + f >= 80:
print("A")
elif m + f >= 65:
print("B")
elif m + f >= 50:
print("C")
elif m + f >= 30:
if r >= 50:
print("C")
else:
print("D")
else:
print("F") | File "/tmp/tmpgesjfgix/tmpsqkmzs5s.py", line 6
if m == -1 or f = -1:
^
SyntaxError: invalid syntax
| |
s438766373 | p02411 | u130834228 | 1489044153 | Python | Python3 | py | Runtime Error | 0 | 0 | 314 | while(1):
m, f, r = map(int, input().split())
if m == -1 and f == -1 and r == -1:
break
if m == -1 or f = -1:
print("F")
elif m + f >= 80:
print("A")
elif m + f >= 65:
print("B")
elif m + f >= 50:
print("C")
elif m + f >= 30:
if r >= 50:
print("C")
else:
print("D")
else:
print("F") | File "/tmp/tmph8uibjm0/tmpnaf9ejln.py", line 6
if m == -1 or f = -1:
^
SyntaxError: invalid syntax
| |
s877534559 | p02411 | u130834228 | 1489044296 | Python | Python3 | py | Runtime Error | 0 | 0 | 314 | while(1):
m, f, r = map(int, input().split())
if m == -1 and f == -1 and r == -1:
break
if m == -1 or f = -1:
print('F')
elif m + f >= 80:
print('A')
elif m + f >= 65:
print('B')
elif m + f >= 50:
print('C')
elif m + f >= 30:
if r >= 50:
print('C')
else:
print('D')
else:
print('F') | File "/tmp/tmp4tf69ra0/tmp06090z_d.py", line 6
if m == -1 or f = -1:
^
SyntaxError: invalid syntax
| |
s097009705 | p02411 | u208157605 | 1491604693 | Python | Python3 | py | Runtime Error | 30 | 7532 | 434 | pupils = []
while True:
l = list(map(int, input().split()))
if sum(l) == -3:
break
pupils.append(l)
for pupil in pupils:
score = pupil[0] + pupil[1]
if pupil[0] == -1 or pupil[1] == -1:
rank = 'F'
elif score >= 80:
rank = 'A'
elif score >= 65:
rank = 'B'
... | Traceback (most recent call last):
File "/tmp/tmphenjyfq_/tmpl6mlnbex.py", line 4, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s335128156 | p02411 | u045778101 | 1496152053 | Python | Python | py | Runtime Error | 0 | 0 | 397 | while True:
m, f, r = map(int, raw_input().split())
if m == -1 and f == -1 and r == -1:
break
elif m == -1 or f == -1:
print "F"
elif m + f >= 80:
print "A"a
elif m + f >= 65:
print "B"
elif m + f >= 50:
print "C"
elif m + f >= 30 and f >= 50:
... | File "/tmp/tmp5zydj0f4/tmpyk7ml5pj.py", line 6
print "F"
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s627122789 | p02411 | u580737984 | 1498544690 | Python | Python3 | py | Runtime Error | 0 | 0 | 477 | while True:
numlist = list(int(i) for i in input().split())
mid = numlist[0]
final = numlist[1]
retest = numlist[2]
sum = mid + final
if mid == -1 or final == -1:
print("F")
elif mid == -1 and final == -1 and retest == -1:
break
elif sum >= 80:
print("A")
elif 80 > sum >= 65:
print("B")
elif 65 ... | Traceback (most recent call last):
File "/tmp/tmpgyybe5rx/tmpmni0voc0.py", line 2, in <module>
numlist = list(int(i) for i in input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s379206805 | p02411 | u580737984 | 1498544776 | Python | Python3 | py | Runtime Error | 0 | 0 | 473 | while True:
numlist = list(int(i) for i in input().split())
mid = numlist[0]
final = numlist[1]
retest = numlist[2]
sum = mid + final
if mid == -1 or final == -1:
print("F")
elif mid == -1 and final == -1 and retest == -1:
break
elif sum >= 80:
print("A")
elif 80 > sum >= 65:
print("B")
elif 65 > su... | Traceback (most recent call last):
File "/tmp/tmp6sa9oapf/tmp4eme5v2o.py", line 2, in <module>
numlist = list(int(i) for i in input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s419013720 | p02411 | u853619096 | 1502850274 | Python | Python3 | py | Runtime Error | 0 | 0 | 382 | while True:
m,f,r=map(int,input().split())
if m==-1 and f==-1 and r==-1:
break
elif m==-1 or f==-1:
print('F')
elif m+f>=80:
print("A")
elif m+f>=65:
print("B")
elif m+f>=50 or (r>=50 and m+f>=30:
print('C')
elif m+f>=30:
print("D")
... | File "/tmp/tmpi06_sdpb/tmp2ghggqd1.py", line 12
elif m+f>=50 or (r>=50 and m+f>=30:
^
SyntaxError: invalid syntax
| |
s323530006 | p02411 | u283452598 | 1503192522 | Python | Python3 | py | Runtime Error | 0 | 0 | 396 | while True:
if input()=="-1 -1 -1":
break
points = list(map(int,input().split()))
gou = points[0] + points[1]
if gou >= 80:
print("A")
elif 65 <= gou < 80:
print("B")
elif 50 <= gou < 65:
print("C")
elif 30 <= gou < 50:
if points[2] >= 50:
... | Traceback (most recent call last):
File "/tmp/tmp8mqs3eb2/tmpl_b8wqgy.py", line 2, in <module>
if input()=="-1 -1 -1":
^^^^^^^
EOFError: EOF when reading a line
| |
s006611322 | p02411 | u283452598 | 1503192836 | Python | Python3 | py | Runtime Error | 0 | 0 | 463 | while True:
points = list(map(int,input().split()))
if points == [-1,-1,-1]:
break
gou = points[0] + points[1]
if -1 in points[0] or -1 in points[1]:
print("F")
elif gou >= 80:
print("A")
elif 65 <= gou < 80:
print("B")
elif 50 <= gou < 65:
print("C"... | Traceback (most recent call last):
File "/tmp/tmp1yy39yv1/tmp3dv0lrwc.py", line 2, in <module>
points = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s523279310 | p02411 | u597198969 | 1503665859 | Python | Python3 | py | Runtime Error | 20 | 7608 | 417 | while(True):
m,f,r = [int(i) for i in input().split()]
if(m == -1 and f == -1 and r == -1):
break
if(m == -1 or f == -1):
print('F')
elif(m + f >= 80):
print('A')
elif(65 <= m + f <= 80):
prin('B')
elif(50 <= m + f <= 65):
print('C')
elif(30 <= m + f <... | Traceback (most recent call last):
File "/tmp/tmppe1unc6s/tmpt0mfhwdw.py", line 2, in <module>
m,f,r = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s610609838 | p02411 | u933096856 | 1505661332 | Python | Python | py | Runtime Error | 0 | 0 | 301 | while True:
m,f,r=map(raw_int, input().split())
s=m+f
if m==-1 and f==-1 and r==-1:
break
elif m==-1 or f==-1 or s <30:
print 'F'
elif s <50 and r <50:
print 'D'
elif s <65:
print 'C'
elif s <80:
print 'B'
else:
print 'A' | File "/tmp/tmprjky4uzu/tmpqlubi1pe.py", line 7
print 'F'
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s058625551 | p02411 | u362494298 | 1505969149 | Python | Python3 | py | Runtime Error | 0 | 0 | 249 | While 1:
m,f,r=map(int,input().split())
if m==f==r==-1:break
if m+f >= 80:print('A')
elif m+f >= 65:print('B')
elif m+f >= 50:print('C')
elif m+f >= 30:
if r > 50:print('C')
else:print('D')
else:print('F') | File "/tmp/tmp1bi4atph/tmpq39ll0rq.py", line 1
While 1:
^
SyntaxError: invalid syntax
| |
s919533725 | p02411 | u362494298 | 1505969444 | Python | Python3 | py | Runtime Error | 0 | 0 | 251 | While 1:
m,f,r=map(int,input().split())
if m==f==r==-1:break
a=m+f
if a >= 80:print('A')
elif a >= 65:print('B')
elif a >= 50:print('C')
elif a >= 30:
if r > 50:print('C')
else:print('D')
else:print('F') | File "/tmp/tmpy9p9d_zn/tmpn06557ga.py", line 1
While 1:
^
SyntaxError: invalid syntax
| |
s500964111 | p02411 | u362494298 | 1505969662 | Python | Python3 | py | Runtime Error | 0 | 0 | 254 | While True:
m,f,r=map(int,input().split())
if m==f==r==-1:break
a=m+f
if a >= 80:print('A')
elif a >= 65:print('B')
elif a >= 50:print('C')
elif a >= 30:
if r > 50:print('C')
else:print('D')
else:print('F') | File "/tmp/tmpry0vpg9z/tmpr595qh4m.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s997415770 | p02411 | u362494298 | 1505969778 | Python | Python3 | py | Runtime Error | 0 | 0 | 255 | While True:
m,f,r=map(int,input().split())
if m==f==r==-1:break
a=m+f
if a >= 80:print('A')
elif a >= 65:print('B')
elif a >= 50:print('C')
elif a >= 30:
if r >= 50:print('C')
else:print('D')
else:print('F') | File "/tmp/tmp10swdfda/tmp5muvqm0q.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s995402502 | p02411 | u362494298 | 1505969892 | Python | Python3 | py | Runtime Error | 0 | 0 | 287 | While 1:
m,f,r=map(int,input().split())
if m==f==r==-1:break
a=m+f
if m==-1 or f==-1:print('F')
elif a >= 80:print('A')
elif a >= 65:print('B')
elif a >= 50:print('C')
elif a >= 30:
if r >= 50:print('C')
else:print('D')
else:print('F') | File "/tmp/tmp2p31ejvu/tmpwykm58tu.py", line 1
While 1:
^
SyntaxError: invalid syntax
| |
s015902396 | p02411 | u362494298 | 1505969927 | Python | Python3 | py | Runtime Error | 0 | 0 | 290 | While True:
m,f,r=map(int,input().split())
if m==f==r==-1:break
a=m+f
if m==-1 or f==-1:print('F')
elif a >= 80:print('A')
elif a >= 65:print('B')
elif a >= 50:print('C')
elif a >= 30:
if r >= 50:print('C')
else:print('D')
else:print('F') | File "/tmp/tmpk82oksvb/tmpe05incdq.py", line 1
While True:
^^^^
SyntaxError: invalid syntax
| |
s894100421 | p02411 | u973998699 | 1507716345 | Python | Python3 | py | Runtime Error | 0 | 0 | 406 | #! /usr/bin/env python
# -*- coding : utf-8 -*-
while True:
m, f, r = map(int,input().split())
if m + f >= 80:
print("A")
elif m + f >= 65 and m + f < 80:
print("B")
elif m + f >= 50 and m + f < 65:
print("C")
elif m + f >= 30 and m + f < 50:
if r >= 50:
p... | Traceback (most recent call last):
File "/tmp/tmpyaf26uiq/tmpuic39axp.py", line 4, in <module>
m, f, r = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s272598817 | p02411 | u518939641 | 1510232453 | Python | Python3 | py | Runtime Error | 0 | 0 | 203 |
while True:
m,f,r=list(map(int,input()))
if m==f==r==-1: break
s=m+r
print('F' if m*f<0 or s<30 else 'D' if 30<=s<50 and r<50 else 'C' if 50<=s<65 or m>=50 else 'B' if 65<=s<80 else 'A') | Traceback (most recent call last):
File "/tmp/tmpo5f11udg/tmp1bsm6urb.py", line 3, in <module>
m,f,r=list(map(int,input()))
^^^^^^^
EOFError: EOF when reading a line
| |
s231123667 | p02411 | u298999032 | 1511155513 | Python | Python3 | py | Runtime Error | 0 | 0 | 225 | m,f,r=map(int,input().split())
if m==-1 or f==-1 or m+f<30:
print('F')
elif m==f==r==-1:
break
elif m+f>=80:
print('A')
elif 65<=m+f<80:
print('B')
elif 50<=m+f<65 or r>=50:
print('C')
else:
print('D') | File "/tmp/tmp2v0w3dc4/tmp_khnlgyf.py", line 5
break
^^^^^
SyntaxError: 'break' outside loop
| |
s161307608 | p02411 | u661529494 | 1512523139 | Python | Python3 | py | Runtime Error | 0 | 0 | 222 | if m==f==r==-1:
break
else:
if m==-1 or f==-1 or m+f<30:
print('F')
elif m+f>=80:
print('A')
elif 80>m+f>=65:
print('B')
elif (65>m+f>=50) or (50>m+f>=35 and r>=50):
print('C')
else:
print('D') | File "/tmp/tmpvlkwzlg2/tmpy29v9hqd.py", line 1
if m==f==r==-1:
IndentationError: unexpected indent
| |
s621376978 | p02411 | u150984829 | 1513462960 | Python | Python3 | py | Runtime Error | 0 | 0 | 192 | while 1:
m,f,r=map(int,input().split());s=m+f
if m*f<-1:break
if m==-1 or f==-1 or s<30:print('F')
elif s>79:print('A')
elif s>64:print('B')
elif s>49 or r>49:print('C')
else:print('D') | Traceback (most recent call last):
File "/tmp/tmpvt60ru_h/tmpd7qjpj3q.py", line 2, in <module>
m,f,r=map(int,input().split());s=m+f
^^^^^^^
EOFError: EOF when reading a line
| |
s682964859 | p02411 | u613534067 | 1520306513 | Python | Python3 | py | Runtime Error | 0 | 0 | 439 | while True:
m, f, r = map(int, input().split())
if m == -1 and f == -1 and r == -1:
break
elif m == -1 or f == -1:
grade = "F"
elif (m + f) => 80:
grade = "A"
elif (m + f) => 65:
grade = "B"
elif (m + f) => 50:
grade = "C"
elif (m + f) => 30:
i... | File "/tmp/tmpudkb2ggm/tmpugv8x8lt.py", line 7
elif (m + f) => 80:
^
SyntaxError: invalid syntax
| |
s288056389 | p02411 | u613534067 | 1520306548 | Python | Python3 | py | Runtime Error | 0 | 0 | 439 | while True:
m, f, r = map(int, input().split())
if m == -1 and f == -1 and r == -1:
break
elif m == -1 or f == -1:
grade = "F"
elif (m + f) >= 80:
grade = "A"
elif (m + f) => 65:
grade = "B"
elif (m + f) => 50:
grade = "C"
elif (m + f) => 30:
i... | File "/tmp/tmplr9yj0dp/tmpmasav62w.py", line 9
elif (m + f) => 65:
^
SyntaxError: invalid syntax
| |
s946746570 | p02411 | u641357568 | 1521258772 | Python | Python3 | py | Runtime Error | 0 | 0 | 672 | import sys
while True:
n = sys.stdin.readline()[:-1]
if n = '-1 -1 -1':
break
marks = [ int(m) for m in n.split() ]
mt_points,retest = marks[0] + marks[1],marks[2]
if -1 in marks[:-1]:
print('F')
continue
elif mt_points >= 80:
print('A')
continue
... | File "/tmp/tmpzl4pcc_i/tmpr2iw00oa.py", line 6
if n = '-1 -1 -1':
^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s522561655 | p02411 | u886729200 | 1522810037 | Python | Python3 | py | Runtime Error | 0 | 0 | 545 | m = []
f = []
r = []
while(True):
M,F,R=map(int,input().split())
if M == -1 and F == -1 and R == -1:
break
else:
m.append(M)
f.append(F)
r.append(R)
for i in range(len(m)):
if (m == -1 or f ==-1) or m+f<30:
print("F")
elif m+f>=80:
print("A")
elif ... | Traceback (most recent call last):
File "/tmp/tmpo8kj1824/tmp_qcs1bxm.py", line 5, in <module>
M,F,R=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s420763741 | p02411 | u886729200 | 1522810640 | Python | Python3 | py | Runtime Error | 20 | 5592 | 520 | m = []
f = []
r = []
while(True):
M,F,R=map(int,input().split())
if M == -1 and F == -1 and R == -1:
break
else:
m.append(M)
f.append(F)
r.append(R)
for i in range(len(m)):
score = m[i]+f[i]
if (m[i] == -1 or f[i] ==-1) or score<30:
print("F")
elif score>=... | Traceback (most recent call last):
File "/tmp/tmpvphohpob/tmpx6ew3ado.py", line 5, in <module>
M,F,R=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s132543195 | p02411 | u589139267 | 1524652266 | Python | Python3 | py | Runtime Error | 0 | 0 | 415 | while True:
m, f, r = map(int, input().split())
if m+f+r = -3:
break
S = m + f
if S >= 80:
print("A")
elif S >= 65 and S < 80:
print("B")
elif S >= 50 and S < 65:
print("C")
elif S >= 30 and S < 50:
if m == -1 or f == -1:
print("F")
else:
if r >... | File "/tmp/tmpkvldl5o7/tmpegedmjqt.py", line 3
if m+f+r = -3:
^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s169600896 | p02411 | u589139267 | 1524652908 | Python | Python3 | py | Runtime Error | 0 | 0 | 383 | while True:
m, f, r = map(int, input().split())
if m+f+r = -3:
break
if m == -1 or f == -1:
print("F")
S = m + f
if S >= 80:
print("A")
elif S >= 65 and S < 80:
print("B")
elif S >= 50 and S < 65:
print("C")
elif S >= 30 and S < 50:
if r >= 50:
print(... | File "/tmp/tmpr1yc14rj/tmp8ldy37ud.py", line 3
if m+f+r = -3:
^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s021001904 | p02411 | u592529978 | 1525747886 | Python | Python | py | Runtime Error | 0 | 0 | 284 | while True:
m,f,r = map(int, raw_input().split())
m+f = s
if m==-1 and f==-1 and r ==-1 : break
elif m==-1 or f==-1 or r<30 : g=4
elif 30 <= s and s <50 :
if r <= 50: g=2
else g=3
elif 50 <=s and s <65 : g=2
elif 65 <=s and s<70 : g=1
else: g=0
print 'ABCDF'[g]
| File "/tmp/tmpse7xii82/tmpyytqitcj.py", line 3
m+f = s
^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s540284034 | p02411 | u592529978 | 1525747970 | Python | Python | py | Runtime Error | 0 | 0 | 285 | while True:
m,f,r = map(int, raw_input().split())
m+f = s
if m==-1 and f==-1 and r ==-1 : break
elif m==-1 or f==-1 or r<30 : g=4
elif 30 <= s and s <50 :
if r <= 50: g=2
else : g=3
elif 50 <=s and s <65 : g=2
elif 65 <=s and s<70 : g=1
else: g=0
print 'ABCDF'[g]
| File "/tmp/tmpnroeecj2/tmpub3wl9_6.py", line 3
m+f = s
^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s832226166 | p02411 | u592529978 | 1525752380 | Python | Python | py | Runtime Error | 0 | 0 | 342 | while True:
m,f,r = map(int, raw_input().split())
m+f = s
if m==-1 and f==-1 and r ==-1 : break
elif m==-1 or f==-1 or r<30 : g=4
elif 30 <= s and s <50 :
if r <= 50: g=2
else : g=3
elif 50 <=s and s <65 : g=2
elif 65 <=s and s<70 : g=1
else: g=0
... | File "/tmp/tmp2gt82qyl/tmp3adt95fj.py", line 3
m+f = s
^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s924344828 | p02411 | u007066325 | 1527474010 | Python | Python3 | py | Runtime Error | 0 | 0 | 355 | while True:
m,f,r = map(int, input().split())
if m==f==r==-1:
break
if m ==-1 or f == -1:
print(F)
elif (m+f) <=80:
print(A)
elif (m+f) <=65:
print(B)
elif (m+f) <=50:
print(C)
elif( m+f)<=30 and r <=50:
print(C)
elif ( m+f)<=30:
pr... | Traceback (most recent call last):
File "/tmp/tmp7pdtayph/tmpcubi7yqo.py", line 2, in <module>
m,f,r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s633605329 | p02411 | u092736322 | 1528860272 | Python | Python3 | py | Runtime Error | 20 | 5588 | 400 | while 1:
k=input().split()
a=int(k[0])
b=int(k[1])
c=int(k[2])
if a==-1 and (b==-1 and c==-1):
break
if a<0 or b<0:
ptint("F")
elif a+b<30:
print("F")
elif a+b<50:
if c>=50:
print("C")
else:
print("D")
elif a+b<65:
... | Traceback (most recent call last):
File "/tmp/tmpfnk9spmx/tmpfcapam11.py", line 2, in <module>
k=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s912833652 | p02411 | u500257793 | 1528968904 | Python | Python3 | py | Runtime Error | 0 | 0 | 267 | while True:
m,f,r=map(int,input().split())
g=m+f
if m==-1 and f==-1 and r==-1:
break
elif m==-1 or g==-1 or g>30:
print("F")
elif g>=80:
print("A")
elif 65<=g<80:
print("B")
elif 50<=g<65 or 30<=g<50 and r>=50:
print("C")
elif 30<=g<50
print("D")
| File "/tmp/tmpixj_k_if/tmpkdhee9yi.py", line 14
elif 30<=g<50
^
SyntaxError: expected ':'
| |
s926042970 | p02411 | u904989881 | 1391775394 | Python | Python | py | Runtime Error | 0 | 0 | 297 | while 1:
m, f, r = raw_input().split()
sum = m + f
if sum == -2: break
elif min(m, f) == -1: print 'F'
elif sum > 80: print 'A'
elif sum > 65: print 'B'
elif sum > 50: print 'C'
elif sum > 30:
if r > 50: print 'C'
else: print 'D'
else: print 'F' | File "/tmp/tmpaf89s4ol/tmp6f7uphfw.py", line 5
elif min(m, f) == -1: print 'F'
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s802552088 | p02411 | u633068244 | 1393326108 | Python | Python | py | Runtime Error | 0 | 0 | 374 | while True:
m, f, r = map(int, raw_input().split())
if m+f+r == -3:
break
if m == -1 or f == -1:
print "F"
elif m+f >= 80:
print "A"
elif m+f >= 65:
print "B"
elif m+f >= 50:
print "C"
elif m+f >= 30
if r >= 50:
print "C"
e... | File "/tmp/tmpl1s9i39m/tmpyedq6y7p.py", line 7
print "F"
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s527797297 | p02412 | u539753516 | 1531241223 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | while True:
n,x=map(int, input().split())
if n==x==0:break
c=0
for i in range(math.ceil(n/3),n+1):
c+=(n-i)//2
print(c)
| Traceback (most recent call last):
File "/tmp/tmpvoha9y_9/tmp7okm87c2.py", line 2, in <module>
n,x=map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s500023158 | p02412 | u539753516 | 1531241378 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | while True:
n,x=map(int, input().split())
if n==x==0:break
c=0
for i in range(math.ceil(n/3),n+1):
c+=(n-i)//2
print(c)
| Traceback (most recent call last):
File "/tmp/tmpelt5k279/tmp8kq6r2ow.py", line 2, in <module>
n,x=map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s958885600 | p02412 | u962560616 | 1540456311 | Python | Python3 | py | Runtime Error | 0 | 0 | 272 | while True:
cou = 0
n,x = map(int,intput().split())
if n==0 and x==0:
break
for i in range(1,x):
for j in range(j,x):
k = x - i - j
if i<=n and j<=n and k<=n:
cou += 1
print(cou)
| Traceback (most recent call last):
File "/tmp/tmp3he76gb2/tmp6sedb08j.py", line 3, in <module>
n,x = map(int,intput().split())
^^^^^^
NameError: name 'intput' is not defined. Did you mean: 'input'?
| |
s682183495 | p02412 | u962560616 | 1540456326 | Python | Python3 | py | Runtime Error | 0 | 0 | 271 | while True:
cou = 0
n,x = map(int,input().split())
if n==0 and x==0:
break
for i in range(1,x):
for j in range(j,x):
k = x - i - j
if i<=n and j<=n and k<=n:
cou += 1
print(cou)
| Traceback (most recent call last):
File "/tmp/tmpo37bkki_/tmpbxxqagj9.py", line 3, in <module>
n,x = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s509512921 | p02412 | u277375424 | 1541078586 | Python | Python3 | py | Runtime Error | 0 | 0 | 278 | while True:
n,x = map(int,input().split())
if n == x == 0:
break
d = o
for i in range(1,n+1):
for j in range(i+1,n+1):
k = x-(i+j)
if k >= 1 and k<= n and k > j:
d += 1
print(d)
| Traceback (most recent call last):
File "/tmp/tmpae5ru208/tmp31qimcz_.py", line 2, in <module>
n,x = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s546850812 | p02412 | u498462680 | 1546407386 | Python | Python3 | py | Runtime Error | 0 | 0 | 1176 | while True:
combNum = 0
calcResult = 0
numList1 = list(range(1,n+1,1))
numList2 = list(range(1,n+1,1))
numList3 = list(range(1,n+1,1))
n,x = map(int, input().split())
if n is x is 0:
break
else:
for index1 in range(n):
for index2 in range(n):
f... | /tmp/tmprkdyiy8d/tmpe_417iyl.py:8: SyntaxWarning: "is" with a literal. Did you mean "=="?
if n is x is 0:
Traceback (most recent call last):
File "/tmp/tmprkdyiy8d/tmpe_417iyl.py", line 4, in <module>
numList1 = list(range(1,n+1,1))
^
NameError: name 'n' is not defined
| |
s891446201 | p02412 | u498462680 | 1546407406 | Python | Python3 | py | Runtime Error | 0 | 0 | 1180 | while True:
combNum = 0
calcResult = 0
numList1 = list(range(1,n+1,1))
numList2 = list(range(1,n+1,1))
numList3 = list(range(1,n+1,1))
n,x = map(int, input().split())
if n is x is 0:
break
else:
for index1 in range(n):
for index2 in range(n):
f... | /tmp/tmp_a08j03u/tmpghriclbz.py:8: SyntaxWarning: "is" with a literal. Did you mean "=="?
if n is x is 0:
Traceback (most recent call last):
File "/tmp/tmp_a08j03u/tmpghriclbz.py", line 4, in <module>
numList1 = list(range(1,n+1,1))
^
NameError: name 'n' is not defined
| |
s052534457 | p02412 | u498462680 | 1546407626 | Python | Python3 | py | Runtime Error | 0 | 0 | 1286 | combNum = [0]*100
resultNum = 0
while True:
calcResult = 0
numList1 = list(range(1,n+1,1))
numList2 = list(range(1,n+1,1))
numList3 = list(range(1,n+1,1))
n,x = map(int, input().split())
if n is x is 0:
break
else:
for index1 in range(n):
for index2 in range(n):
... | File "/tmp/tmp0irlk2tu/tmplnj7_lhv.py", line 27
for index in range(resultNum)
^
SyntaxError: expected ':'
| |
s550783624 | p02412 | u498462680 | 1546407656 | Python | Python3 | py | Runtime Error | 0 | 0 | 1287 | combNum = [0]*100
resultNum = 0
while True:
calcResult = 0
numList1 = list(range(1,n+1,1))
numList2 = list(range(1,n+1,1))
numList3 = list(range(1,n+1,1))
n,x = map(int, input().split())
if n is x is 0:
break
else:
for index1 in range(n):
for index2 in range(n):
... | /tmp/tmpm4fjowma/tmp_otlojt0.py:9: SyntaxWarning: "is" with a literal. Did you mean "=="?
if n is x is 0:
Traceback (most recent call last):
File "/tmp/tmpm4fjowma/tmp_otlojt0.py", line 5, in <module>
numList1 = list(range(1,n+1,1))
^
NameError: name 'n' is not defined
| |
s337210908 | p02412 | u498462680 | 1546407879 | Python | Python3 | py | Runtime Error | 0 | 0 | 1306 | combNum = [0]*100
inNum = 0
while True:
calcResult = 0
numList1 = list(range(1,n+1,1))
numList2 = list(range(1,n+1,1))
numList3 = list(range(1,n+1,1))
n,x = map(int, input().split())
if n is x is 0:
break
else:
for index1 in range(n):
for index2 in range(... | /tmp/tmpk6v207av/tmp2ce0oeje.py:9: SyntaxWarning: "is" with a literal. Did you mean "=="?
if n is x is 0:
Traceback (most recent call last):
File "/tmp/tmpk6v207av/tmp2ce0oeje.py", line 5, in <module>
numList1 = list(range(1,n+1,1))
^
NameError: name 'n' is not defined
| |
s148134613 | p02412 | u902639104 | 1551389686 | Python | Python3 | py | Runtime Error | 0 | 0 | 247 | while True:
n,x=map(int,input().split())
if n=0 and x=0:break
ans =0
for a in range(1,n+1):
for b in range(1,n+1):
if b<=a:continue
c=x-(a+b)
if c>b and c<=n:ans+1
print("%d"%(ans))
| File "/tmp/tmp4hf9jo92/tmpu60qkfa2.py", line 3
if n=0 and x=0:break
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s734455421 | p02412 | u902639104 | 1551389799 | Python | Python3 | py | Runtime Error | 0 | 0 | 248 | while True:
n,x=map(int,input().split())
if n=0 and x=0:break
ans =0
for a in range(1,n+1):
for b in range(1,n+1):
if b<=a:continue
c=x-(a+b)
if c>b and c<=n:ans+=1
print("%d"%(ans))
| File "/tmp/tmpz25kilxh/tmpyz87gj5s.py", line 3
if n=0 and x=0:break
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s300680900 | p02412 | u902639104 | 1551390779 | Python | Python3 | py | Runtime Error | 0 | 0 | 207 | while True:
n,x=map(int,input().split())
if n==0 and x==0:break
for i in range(1,n+1):
for j in range(1,i):
for k in range(1,j):
if i+j+k==x:a+=1
print(a)
| Traceback (most recent call last):
File "/tmp/tmpj7_c6vzc/tmpowhfw4cu.py", line 2, in <module>
n,x=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s601776671 | p02412 | u902639104 | 1551390883 | Python | Python3 | py | Runtime Error | 0 | 0 | 207 | while True:
n,x=map(int,input().split())
if n==0 and x==0:break
for i in range(1,n+1):
for j in range(1,i):
for k in range(1,j):
if i+j+k==x:a+=1
print(a)
| Traceback (most recent call last):
File "/tmp/tmpeak9f05f/tmp2o_63m8j.py", line 2, in <module>
n,x=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s679211988 | p02412 | u902639104 | 1551391044 | Python | Python3 | py | Runtime Error | 0 | 0 | 208 | while True:
n,x=map(int,input().split())
if n==0 and x==0:break
for i in range(1,n+1):
for j in range(1,i):
for k in range(1,j):
if i+j+k==x:a+=1
print(a)
| Traceback (most recent call last):
File "/tmp/tmpnayzg2rs/tmpg8i4al5f.py", line 2, in <module>
n,x=map(int,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.