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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s405490006 | p02410 | u661529494 | 1512452091 | Python | Python3 | py | Runtime Error | 0 | 0 | 187 | n,m=map(int, input().split())
for _ in range (n):
A=list(map(int, input().split())
for _ in range (m):
b=int(input())
for _ in range (n):
print(sum(a[_][i] * b[i] for i in range(m))) | File "/tmp/tmppjamhdq3/tmp7___p7t6.py", line 3
A=list(map(int, input().split())
^
SyntaxError: '(' was never closed
| |
s995620908 | p02410 | u661529494 | 1512452413 | Python | Python3 | py | Runtime Error | 0 | 0 | 185 | n,m=map(int, input().split())
A=[list(map(int, input().split()) for _ in range (n)]
b=[int(input()) for _ in range (m)]
for _ in range (n):
print(sum(a[_][i] * b[i] for i in range(m))) | File "/tmp/tmpas2hc3ey/tmphvabdvgg.py", line 2
A=[list(map(int, input().split()) for _ in range (n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s373451417 | p02410 | u017523606 | 1514269667 | Python | Python3 | py | Runtime Error | 0 | 0 | 382 | import numpy as np
n,m = map(int,input().split())
arr = [[0 for i in range(m)]for j in range(n)]
for i in range(n):
line = input().split()
for j in range(m):
arr[i][j] = int(line[j])
array = np.array(arr)
colvec = np.array([])
for _ in range(m):
colvec = np.append(colvec,int(input()))
for i in range... | Traceback (most recent call last):
File "/tmp/tmph2ixmclw/tmp65mgdhrb.py", line 2, in <module>
n,m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s580856341 | p02410 | u017523606 | 1514269766 | Python | Python3 | py | Runtime Error | 0 | 0 | 382 | import numpy as np
n,m = map(int,input().split())
arr = [[0 for i in range(m)]for j in range(n)]
for i in range(n):
line = input().split()
for j in range(m):
arr[i][j] = int(line[j])
array = np.array(arr)
colvec = np.array([])
for i in range(m):
colvec = np.append(colvec,int(input()))
for i in range... | Traceback (most recent call last):
File "/tmp/tmpgu9ik_m7/tmp8yyuol7z.py", line 2, in <module>
n,m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s504379598 | p02410 | u017523606 | 1514269978 | Python | Python3 | py | Runtime Error | 0 | 0 | 382 | import numpy as np
n,m = map(int,input().split())
arr = [[0 for i in range(m)]for j in range(n)]
for i in range(n):
line = input().split()
for j in range(m):
arr[i][j] = int(line[j])
array = np.array(arr)
colvec = np.array([])
for i in range(m):
colvec = np.append(colvec,int(input()))
for i in range... | Traceback (most recent call last):
File "/tmp/tmpwgutol_r/tmpvi37uegl.py", line 2, in <module>
n,m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s520688359 | p02410 | u017523606 | 1514270149 | Python | Python3 | py | Runtime Error | 0 | 0 | 382 | import numpy as np
n,m = map(int,input().split())
arr = [[0 for i in range(m)]for j in range(n)]
colvec = np.array([])
for i in range(n):
line = input().split()
for j in range(m):
arr[i][j] = int(line[j])
for _ in range(m):
colvec = np.append(colvec,int(input()))
array = np.array(arr)
for i in range... | Traceback (most recent call last):
File "/tmp/tmpxilr9i0n/tmpg7qbm693.py", line 2, in <module>
n,m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s763431373 | p02410 | u017523606 | 1514270348 | Python | Python3 | py | Runtime Error | 0 | 0 | 374 | import numpy as np
n,m = map(int,input().split())
arr = [[0 for i in range(m)]for j in range(n)]
colvec = np.array([])
for i in range(n):
line = input().split()
for j in range(m):
arr[i][j] = int(line[j])
for _ in range(m):
colvec = np.append(colvec,int(input()))
array = np.array(arr)
for i in range... | Traceback (most recent call last):
File "/tmp/tmp9s66lvmt/tmpv8h1i9pj.py", line 2, in <module>
n,m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s519049810 | p02410 | u165141947 | 1514667217 | Python | Python | py | Runtime Error | 0 | 0 | 241 | n, m = map(int, raw_input().split())
a, b = [], []
for _ in range(n):
a.append(map(int, raw_input().split()))
for _ in range(m):
b.append(int(raw_input()))
for i in range(n):
c[i] = 0
for j in range(m):
c[i] += a[i][j]*b[j]
print c[i] | File "/tmp/tmp0f6fnv5k/tmp1nxtu73t.py", line 11
print c[i]
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s475246278 | p02410 | u505411588 | 1516617058 | Python | Python3 | py | Runtime Error | 0 | 0 | 623 | '''
1 1 1
2 2 2
1
2
3
とあったら、1*1+1*2+1*3
2*1+2*2+2*3
みたいな感じ。
'''
from operator import add
from functools import reduce
#テスト値
n = int(input())
m = int(input())
#a = [[1,1,1],[2,2,2]]
#b = [1,2,3]
a = [list(map(int, input().split())) for n in range(n)]
#print(a)
b = [int(input()) for n in range(m)]
#print(b)... | Traceback (most recent call last):
File "/tmp/tmpyui8u5ir/tmpw3f_yyu3.py", line 16, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s081788439 | p02410 | u017435045 | 1521443102 | Python | Python3 | py | Runtime Error | 0 | 0 | 157 | n,m=map(int,input().split())
a=[list(map(int,input().split()))
b=[int(input())for i in range(m)]
[print(sum([j*k for j,k in zip(a[i],b])) for i in range(n)]
| File "/tmp/tmp64wzwbxs/tmpvptg05s5.py", line 4
[print(sum([j*k for j,k in zip(a[i],b])) for i in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s429159837 | p02410 | u017435045 | 1521443143 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | n,m=map(int,input().split())
a=[list(map(int,input().split())) for i in range(n)]
b=[int(input())for i in range(m)]
[print(sum([j*k for j,k in zip(a[i],b])) for i in range(n)]
| File "/tmp/tmpr8_wnj_2/tmph864wzyn.py", line 4
[print(sum([j*k for j,k in zip(a[i],b])) for i in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s531246657 | p02410 | u017435045 | 1521443197 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | n,m=map(int,input().split())
a=[list(map(int,input().split())) for i in range(n)]
b=[int(input())for i in range(m)]
[print(sum([j*k for j,k in zip(a[i],b])) for i in range(n)]
| File "/tmp/tmpx9ow4hcd/tmphmej7cel.py", line 4
[print(sum([j*k for j,k in zip(a[i],b])) for i in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s924823340 | p02410 | u017435045 | 1521443299 | Python | Python3 | py | Runtime Error | 0 | 0 | 179 |
n,m=map(int,input().split())
a=[list(map(int,input().split())) for i in range(n)]
b=[int(input())for i in range(m)]
[print(sum([j*k for j,k in zip(a[i],b])) for i in range(n)]
| File "/tmp/tmpyjcffnw_/tmpirxrp2li.py", line 7
[print(sum([j*k for j,k in zip(a[i],b])) for i in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s412451203 | p02410 | u017435045 | 1521443388 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 |
n,m=map(int,input().split())
a=[list(map(int,input().split()))for i in range(n)]
b=[int(input())for i in range(m)]
[print(sum([j*k for j,k in zip(a[i],b]))for i in range(n)]
| File "/tmp/tmpbrm4wnve/tmpx55f03bb.py", line 6
[print(sum([j*k for j,k in zip(a[i],b]))for i in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s039797385 | p02410 | u017435045 | 1521443443 | Python | Python3 | py | Runtime Error | 0 | 0 | 175 |
n,m=map(int,input().split())
a=[list(map(int,input().split()))for f in range(n)]
b=[int(input())for g in range(m)]
[print(sum([j*k for j,k in zip(a[i],b]))for i in range(n)]
| File "/tmp/tmpo88tyld6/tmpj28eotds.py", line 5
[print(sum([j*k for j,k in zip(a[i],b]))for i in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s188192031 | p02410 | u017435045 | 1521443516 | Python | Python3 | py | Runtime Error | 0 | 0 | 174 | n,m=map(int,input().split())
a=[list(map(int,input().split()))for _ in range(n)]
b=[int(input())for _ in range(m)]
[print(sum([j*k for j,k in zip(a[i],b]))for i in range(n)]
| File "/tmp/tmpoegkcquc/tmp_l5og8lj.py", line 4
[print(sum([j*k for j,k in zip(a[i],b]))for i in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s422044244 | p02410 | u017435045 | 1521443556 | Python | Python3 | py | Runtime Error | 0 | 0 | 231 | n,m=map(int,input().split())
a=[list(map(int,input().split()))for _ in range(n)]
b=[int(input())for _ in range(m)]
[print(sum([j*k for j,k in zip(a[i],b]))for i in range(n)]
~
| File "/tmp/tmpd347umoh/tmphm7m2u9m.py", line 4
[print(sum([j*k for j,k in zip(a[i],b]))for i in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s344435703 | p02410 | u682153677 | 1523432987 | Python | Python3 | py | Runtime Error | 0 | 0 | 434 | # -*- coding: utf-8 -*-
import numpy as np
n = list(map(int, input().split()))
a = np.array(n[0] * n[1])
for i in range(n[0]):
a_line = list(map(int, input().split()))
np.append(a, a_line)
a.reshape(n[0], n[1])
b = np.array(n[1])
for i in range(n[1]):
b_column = list(map(int, input().split()))
np.app... | Traceback (most recent call last):
File "/tmp/tmpq1sh16jv/tmpar80523r.py", line 4, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s994328336 | p02410 | u682153677 | 1523509706 | Python | Python3 | py | Runtime Error | 0 | 0 | 406 | # -*- coding: utf-8 -*-
import numpy as np
n = list(map(int, input().split()))
a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
a = np.vstack((a, list(map(int, input().split()))))
b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
b = np.vstack((b, list(map(int, i... | Traceback (most recent call last):
File "/tmp/tmp_1g7m7lw/tmpqo3mc51o.py", line 5, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s281603073 | p02410 | u682153677 | 1523509996 | Python | Python3 | py | Runtime Error | 0 | 0 | 425 | # -*- coding: utf-8 -*-
import numpy as np
n = list(map(int, input().split()))
a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
a = np.vstack((a, list(map(int, input().split()))))
b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
b = np.vstack((b, list(map(int, i... | Traceback (most recent call last):
File "/tmp/tmpd2fp2bby/tmpp_hvwx_f.py", line 5, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s526329286 | p02410 | u682153677 | 1523510112 | Python | Python3 | py | Runtime Error | 0 | 0 | 425 | # -*- coding: utf-8 -*-
import numpy as np
n = list(map(int, input().split()))
a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
a = np.vstack((a, list(map(int, input().split()))))
b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
b = np.vstack((b, list(map(int, i... | Traceback (most recent call last):
File "/tmp/tmpx1h2e1k5/tmpykkm0yom.py", line 5, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s375557426 | p02410 | u682153677 | 1523525255 | Python | Python3 | py | Runtime Error | 0 | 0 | 425 | # -*- coding: utf-8 -*-
import numpy as np
n = list(map(int, input().split()))
a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
a = np.vstack((a, list(map(int, input().split()))))
b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
b = np.vstack((b, list(map(int, i... | Traceback (most recent call last):
File "/tmp/tmppjquhaec/tmpg72s3cyr.py", line 5, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s046624632 | p02410 | u682153677 | 1523525535 | Python | Python3 | py | Runtime Error | 0 | 0 | 424 | # -*- coding: utf-8 -*-
import numpy as np
n = list(map(int, input().split()))
a = np.array(list(map(int, input().split())))
for i in range(n[0] - 1):
a = np.vstack((a, list(map(int, input().split()))))
b = np.array(list(map(int, input().split())))
for i in range(n[1] - 1):
b = np.vstack((b, list(map(int, in... | Traceback (most recent call last):
File "/tmp/tmpv_f8ek6g/tmpekzwmy_o.py", line 4, in <module>
n = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s942237789 | p02410 | u007858722 | 1523969520 | Python | Python3 | py | Runtime Error | 0 | 0 | 310 | n, m = map(int, input().split())
numberList = []
for i in n:
childNumberList = list(map(int, input().split()))
numberList.append(childNumberList)
for j in range(0, n):
totalNum = 0
num = int(input())
for k in range(0, m):
totalNum += numberList[j][k] * num
print(totalNum)
| Traceback (most recent call last):
File "/tmp/tmpfz919uu6/tmpx6ogvi83.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s122426573 | p02410 | u328199937 | 1524305935 | Python | Python3 | py | Runtime Error | 20 | 5604 | 343 | n, m = map(int, input().split())
List1 = [[0 for i in range(m)] for i in range(n)]
for x in range(n):
List1[x] = list(map(int, input().split()))
List2 = [int(input()) for i in range(n + 1)]
sum = [0 for i in range(n)]
for x in range(n):
for y in range(m):
sum[x] += List1[x][y] * List2[y]
for x in range(... | Traceback (most recent call last):
File "/tmp/tmp5h0h9x4i/tmpl8gqiyu8.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s586106678 | p02410 | u328199937 | 1524306087 | Python | Python3 | py | Runtime Error | 0 | 0 | 338 | n, m = map(int, input().split())
List1 = [[0 for i in range(m)] for i in range(n)]
for x in range(n):
List1[x] = list(map(int, input().split()))
List2 = [int(input()) for _ in range(n)]
sum = [0 for i in range(n)]
for x in range(n):
for y in range(m):
sum[x] += List1[x][y] * List2[y]
for x in range(n):
... | Traceback (most recent call last):
File "/tmp/tmpmq31czam/tmp6pspw3z_.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s170474401 | p02410 | u150984829 | 1524759708 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | n,m=map(int,input().split())
A=[input().split()for _ in[0]*n]
b=[input()for _ in[0]*m]
for a in A:print(sum(x*y for x,y in map(int,zip(a,b))))
| Traceback (most recent call last):
File "/tmp/tmp71_ff_65/tmplwwd201b.py", line 1, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s705181407 | p02410 | u876060624 | 1524997809 | Python | Python3 | py | Runtime Error | 20 | 5604 | 286 | n,m = map(int,input().split())
A=[[] for i in range(n)]
for i in range(n):
A[i] = list(map(int,input().split()))
b = []
c = list(map(int,'0'*m))
for i in range(m):
b.append(int(input()))
for i in range(n):
for j in range(m):
c[i] += A[i][j]*b[j]
for i in range(n):
print(c[i])
| Traceback (most recent call last):
File "/tmp/tmpncpxv2mt/tmp_6tpm08_.py", line 1, in <module>
n,m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s073066479 | p02410 | u327546577 | 1528140918 | Python | Python3 | py | Runtime Error | 0 | 0 | 307 | bfr = [[[0 for _ in range(10)] for _ in range(3)] for _ in range(4)]
n = int(input())
for _ in range(n):
b, f, r, v = map(int, input().split())
bfr[b-1][f-1][r-1] += v
for b in range(4):
for f in range(3):
print(' ' + ' '.join(map(str, bfr[b][f])))
if b != 3:
print('#'*20)
| Traceback (most recent call last):
File "/tmp/tmpz0cmes3a/tmpnsuqnuh7.py", line 3, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s538527358 | p02410 | u929141425 | 1528478489 | Python | Python3 | py | Runtime Error | 20 | 5604 | 283 | n,m = map(int, input().split())
Li = [[] for y in range(m)]
Li2 = []
a = 0
for x in range(n):
Li[x] += list(map(int, input().split()))
for x in range(m):
Li2.append(int(input()))
for x in range(n):
for y in range(m):
a += Li[x][y]*Li2[y]
print(a)
a = 0
| Traceback (most recent call last):
File "/tmp/tmp3swjv6vb/tmpcw4ysjx4.py", line 1, in <module>
n,m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s793971374 | p02410 | u929141425 | 1528478649 | Python | Python3 | py | Runtime Error | 20 | 5604 | 285 | n,m = map(int, input().split())
Li = [[] for y in range(m)]
Li2 = []
a = 0
for x in range(n):
Li[x] += list(map(int, input().split()))
for x in range(m):
Li2.append(int(input()))
for x in range(n):
for y in range(m):
a += Li[x][y]*Li2[y]
print(a)
a = 0
| Traceback (most recent call last):
File "/tmp/tmp4j2w9elt/tmpdkw7cpe4.py", line 1, in <module>
n,m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s003790325 | p02410 | u929141425 | 1528502645 | Python | Python3 | py | Runtime Error | 20 | 5604 | 282 | n,m = map(int, input().split())
Li = [[] for y in range(m)]
Li2 = []
a = 0
for x in range(n):
Li[x] += list(map(int, input().split()))
for x in range(m):
Li2.append(int(input()))
for x in range(n):
for y in range(m):
a += Li[x][y]*Li2[y]
print(a)
a = 0
| Traceback (most recent call last):
File "/tmp/tmp4pp3v2sk/tmprp93qveu.py", line 1, in <module>
n,m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s381015698 | p02410 | u092736322 | 1528854836 | Python | Python3 | py | Runtime Error | 0 | 0 | 345 | import numpy as np
k=input().split()
n=int(k[0])
m=int(k[1])
a=np.zeros((n,m),dtype='int32')
b=np.zeros(m,dtype='int32')
for i in range(n):
k=input().split()
for j in range(m):
a[i][j]=int(k[j])
for i in range(m):
b[i]=int(input())
for i in range(n):
c=0
for j in range(m):
c+=a[... | Traceback (most recent call last):
File "/tmp/tmp6orf56cw/tmpb5qd20vg.py", line 2, in <module>
k=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s362683926 | p02410 | u932203900 | 1529168989 | Python | Python3 | py | Runtime Error | 0 | 0 | 547 |
import sys
import numpy as np
n, m = input().strip().split(" ")
n = int(n) ;m = int(m)
c = n
a = []
for line in sys.stdin :
a.append(line)
c -= 1
if c == 0 :
break
c = m
b = []
for line in sys.stdin :
b.append(line)
c -= 1
if c == 0 :
break
for i in range(0, len(a)) :
... | Traceback (most recent call last):
File "/tmp/tmpr2c0xytq/tmp0ehoso7m.py", line 5, in <module>
n, m = input().strip().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s052416289 | p02410 | u123669391 | 1530111717 | Python | Python3 | py | Runtime Error | 0 | 0 | 188 | n, m = list(map(int, input().split()))
a=[]
for i in range(n):
a.append([int(j) for j in input().split()])
for j in range(n):
s = 0
for j in range(m):
s += a[i][j] * b[j]
print(s)
| Traceback (most recent call last):
File "/tmp/tmpo_16y9c_/tmpr0eh1nqv.py", line 1, in <module>
n, m = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s053804914 | p02410 | u123669391 | 1530111889 | Python | Python3 | py | Runtime Error | 0 | 0 | 237 | n, m = list(map(int, input().split()))
a=[]
for i in range(n):
a.append([int(j) for j in input().split()])
b = []
for i in range(m)
b.append(int(input()))
for j in range(n):
s = 0
for j in range(m):
s += a[i][j] * b[j]
print(s)
| File "/tmp/tmp_1z7lq7p/tmp6j7stkm6.py", line 6
for i in range(m)
^
SyntaxError: expected ':'
| |
s136295483 | p02411 | u336705996 | 1535199781 | Python | Python3 | py | Runtime Error | 20 | 5596 | 297 | while True:
a,b,c = map(int,input().split())
if a == b == c == -1: break
if a+b>=80: print('A')
elif 65 <= a+b < 80: print('B')
elif 50 <= a+b < 65: print('C')
elif 30 <= a+b < 50:
if r<=50: print('C')
else: print('D')
elif a+b<30: print('F')
| Traceback (most recent call last):
File "/tmp/tmpx0aobbe6/tmp11locgbi.py", line 2, in <module>
a,b,c = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s259583184 | p02411 | u277375424 | 1540992764 | Python | Python3 | py | Runtime Error | 0 | 0 | 301 | n = int(input())
for _ in range(n):
m, f, r = map(int, input().split())
s = m+f
if s >= 80:
print("A")
elif s >= 65 && s < 80:
print("B")
elif s >= 50 && s < 65 || f >= 50:
print("C")
elif s >= 30 && s < 50:
print("D")
else:
print("F")
if m == f == r== -1:
print("F")
| File "/tmp/tmp9ytukisk/tmph1e5qmk9.py", line 9
elif s >= 65 && s < 80:
^
SyntaxError: invalid syntax
| |
s958920804 | p02411 | u277375424 | 1540992833 | Python | Python3 | py | Runtime Error | 0 | 0 | 306 | n = int(input())
for _ in range(n):
m, f, r = map(int, input().split())
s = m+f
if s >= 80:
print("A")
elif s >= 65 and s < 80:
print("B")
elif (s >= 50 and s < 65) or f >= 50:
print("C")
elif s >= 30 and s < 50:
print("D")
else:
print("F")
if m == f == r== -1:
print("F")
| Traceback (most recent call last):
File "/tmp/tmp1s7hmwbl/tmp9e0p30u3.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s336441268 | p02411 | u277375424 | 1540993431 | Python | Python3 | py | Runtime Error | 0 | 0 | 305 | n = int(input())
for _ in range(n):
m, f, r = map(int,input().split())
s = m+f
if s >= 80:
print("A")
elif s >= 65 and s < 80:
print("B")
elif (s >= 50 and s < 65) or f >= 50:
print("C")
elif s >= 30 and s < 50:
print("D")
else:
print("F")
if m == f == r== -1:
print("F")
| Traceback (most recent call last):
File "/tmp/tmpoc7ts8pj/tmps_n0c4r8.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s968402425 | p02411 | u277375424 | 1540993486 | Python | Python3 | py | Runtime Error | 0 | 0 | 303 | n = int(input())
for _ in range(n):
m,f,r = map(int,input().split())
s = m+f
if s >= 80:
print("A")
elif s >= 65 and s < 80:
print("B")
elif (s >= 50 and s < 65) or f >= 50:
print("C")
elif s >= 30 and s < 50:
print("D")
else:
print("F")
if m == f == r== -1:
print("F")
| Traceback (most recent call last):
File "/tmp/tmpk7ya9cov/tmpgm98ha7k.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s999824115 | p02411 | u277375424 | 1540993545 | Python | Python3 | py | Runtime Error | 0 | 0 | 300 | n=int(input())
for _ in range(n):
m,f,r = map(int,input().split())
s = m+f
if s >= 80:
print("A")
elif s >= 65 and s < 80:
print("B")
elif (s >= 50 and s < 65) or f >= 50:
print("C")
elif s >= 30 and s < 50:
print("D")
else:
print("F")
if m == f == r== -1:
print("F")
| Traceback (most recent call last):
File "/tmp/tmprm5q4fko/tmppal_85ih.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s585883610 | p02411 | u277375424 | 1541075617 | Python | Python3 | py | Runtime Error | 0 | 0 | 305 | n = int(input())
for _ in range(n):
m, f, r = map(int, input().split())
s = m+f
if s >= 80:
print("A")
elif s >= 65 and s < 80:
print("B")
elif (s >= 50 and s < 65) or f >= 50:
print("C")
elif s >= 30 and s < 50:
print("D")
else:
print("F")
if m == f == r== -1:
print("F")
| Traceback (most recent call last):
File "/tmp/tmpofpekm4s/tmpecq7k195.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s175689469 | p02411 | u277375424 | 1541076154 | Python | Python3 | py | Runtime Error | 0 | 0 | 324 | while True:
m, f, r = map(int, input().split())
if m == f == r== -1:
break
if s >= 80:
print("A")
elif s >= 65 and s < 80:
print("B")
elif (s >= 50 and s < 65) or f >= 50:
print("C")
elif s >= 30 and s < 50:
print("D")
else:
print("F")
... | Traceback (most recent call last):
File "/tmp/tmpzkwqbppx/tmp2x6f7y4m.py", line 2, in <module>
m, f, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s322532796 | p02411 | u643542669 | 1546126635 | Python | Python3 | py | Runtime Error | 0 | 0 | 398 | for _ in [None] * 50:
m, f, r = map(int, input().split())
result = " "
if m == f == r == -1:
break
if m == -1 or f == -1 or m + f < 30:
result = "F"
elif m + f > 80:
result = "A"
elif 80 > m + f >= 65:
result = "B"
elif 65 > m + f >= 50:
result = "C"
... | File "/tmp/tmpufmi2yb7/tmp39cye78v.py", line 15
result = "C" if r >= 50 else result = "D"
^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s816772900 | p02411 | u498462680 | 1546400059 | Python | Python3 | py | Runtime Error | 20 | 5604 | 806 | midScore =[0]*50
finScore = [0]*50
reScore = [0]*50
personNum = 0
while True:
m,f,r = map(int,input().split())
midScore[personNum] = m
finScore[personNum] = f
reScore[personNum] = r
personNum += 1
if m is f is r is -1:
break
for person in range(personNum):
totalScore = midS... | /tmp/tmpnui8nttc/tmpwmmm8wnz.py:11: SyntaxWarning: "is" with a literal. Did you mean "=="?
if m is f is r is -1:
/tmp/tmpnui8nttc/tmpwmmm8wnz.py:17: SyntaxWarning: "is" with a literal. Did you mean "=="?
if midScore[person] is finScore[person] is reScore[person] is -1:
Traceback (most recent call last):
File "/tm... | |
s447046124 | p02411 | u254455259 | 1546430758 | Python | Python3 | py | Runtime Error | 0 | 0 | 386 | while(1):
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 and m+f<80:
print("B")
elif m+f>=50 and m+f<65:
print("C")
elif m+f>=30 and m+f<50:
print("D")
... | File "/tmp/tmp1lc7uh5s/tmp9pnlmqau.py", line 17
elif:
^
SyntaxError: invalid syntax
| |
s756023042 | p02411 | u902639104 | 1551388816 | Python | Python3 | py | Runtime Error | 0 | 0 | 261 | while True:
m,f,r= map(int.input().split())
if m+f+r==-3:break
if m==-1 or f==-1 or r==-1:"F"
elif m+f>=80:s="A"
elif m+f>=65:s="B"
elif m+f>=50:s="C"
elif m+f>=30 and r>=50:s="C"
elif m+f>=30:s="D"
else:"F"
print(str(s)
| File "/tmp/tmpzhmyblfx/tmpg3sltwqi.py", line 11
print(str(s)
^
SyntaxError: '(' was never closed
| |
s704925233 | p02411 | u340503368 | 1555913840 | Python | Python3 | py | Runtime Error | 0 | 0 | 426 | while True:
m,f,r = map(int, input().split())
if m == f == r ==-1:
break
elif (m+f) >= 80:
print("A")
elif (m+f) < 80 and (m+f) >= 65:
print("B")
elif ((m+f) < 65 and (m+f) >= 50) or (((m+f) < 50 and (m+f) >= 30 and (m != -1 and f != -1)) and r >= 50)
print("C")
e... | File "/tmp/tmpbc9pug7e/tmphtm8rf7i.py", line 9
elif ((m+f) < 65 and (m+f) >= 50) or (((m+f) < 50 and (m+f) >= 30 and (m != -1 and f != -1)) and r >= 50)
^
SyntaxError: expected ':'
| |
s405263208 | p02411 | u610816226 | 1556875610 | Python | Python3 | py | Runtime Error | 0 | 0 | 408 | while True:
m, f, r = map(int, input().split())
if m = f = r == -1:
break:
elif (m == -1 or f == -1) or m+f < 30:
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:
if r >=... | File "/tmp/tmpmuc_x2_u/tmpmx24folk.py", line 3
if m = f = r == -1:
^
SyntaxError: invalid syntax
| |
s622286994 | p02411 | u610816226 | 1556875634 | Python | Python3 | py | Runtime Error | 0 | 0 | 424 | 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) or m+f < 30:
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/tmpkqmrse2e/tmp1ehcde21.py", line 4
break:
^
SyntaxError: invalid syntax
| |
s640037598 | p02411 | u610816226 | 1556875666 | Python | Python3 | py | Runtime Error | 0 | 0 | 423 | 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) or m+f < 30:
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/tmp4t6bvy6y/tmpw_3ntibs.py", line 2, in <module>
m, f, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s346542029 | p02411 | u610816226 | 1556875704 | Python | Python3 | py | Runtime Error | 20 | 5588 | 437 | 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) or m+f < 30:
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 + ... | Traceback (most recent call last):
File "/tmp/tmp90u8mzn9/tmp4rr70aq8.py", line 2, in <module>
m, f, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s653509379 | p02411 | u017764209 | 1417437628 | Python | Python | py | Runtime Error | 0 | 0 | 453 | test = []
while True:
tmp = map(int,raw_input().split())
for i in tmp:
if i == -1:
break
else:
test.append(tmp)
for a in test:
if a[0]+a[1] >= 80:
print "A"
elif 80 > a[0]+a[1] >= 65:
print "B"
elif 65 > a[0]+a[1] >= 50:
print "C"
elif 50 >... | File "/tmp/tmp_ak8e7vq/tmptic1u7q9.py", line 11
print "A"
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s980989285 | p02411 | u971748390 | 1421677615 | Python | Python3 | py | Runtime Error | 0 | 0 | 339 | while(not((m==-1) and (f==-1) and (r==-1)))
m,f,r=map(int,input().split())
if((m==-1) or (f==-1))
print('F')
if(m+f>=80)
print('A')
if(65<= m+f) and (m+f<80))
print('B')
if(50<= m+f) and (m+f<60))
print('C')
if(30<= m+f) and (m+f<50))
if(50<=r)
print('C')
else
print('D')
if(m+f<30)... | File "/tmp/tmp2uflhj28/tmpj118x87x.py", line 9
if(65<= m+f) and (m+f<80))
^
SyntaxError: unmatched ')'
| |
s953168520 | p02411 | u971748390 | 1421678354 | Python | Python3 | py | Runtime Error | 0 | 0 | 331 | while True:
m,f,r=map(int,input().split())
if m==f==r==-1 : break
if((m==-1) or (f==-1))
print('F')
if(m+f>=80)
print('A')
if(65<= m+f) and (m+f<80))
print('B')
if(50<= m+f) and (m+f<60))
print('C')
if(30<= m+f) and (m+f<50))
if(50<=r)
print('C')
else
print('D')
if(m+f<30)
prin... | File "/tmp/tmpabtf366r/tmp634butyo.py", line 10
if(65<= m+f) and (m+f<80))
^
SyntaxError: unmatched ')'
| |
s830931390 | p02411 | u971748390 | 1421678802 | Python | Python3 | py | Runtime Error | 0 | 0 | 303 | while True:
m,f,r=map(int,input().split())
if m==f==r==-1 : break
if((m==-1) or (f==-1))
print('F')
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')
if(m+f<30)
print('F')
| File "/tmp/tmph2atb2dh/tmp7_uov7lv.py", line 4
if((m==-1) or (f==-1))
^
SyntaxError: expected ':'
| |
s573053463 | p02411 | u823030818 | 1423014474 | Python | Python3 | py | Runtime Error | 0 | 0 | 449 | int main(void) {
int m,f,r;
scanf("%d %d %d",&m,&f,&r);
while(m!=-1 || f!=-1 || r!=-1) {
if(m==-1 || f==-1)printf("F\n");
else if(m+f>=80)printf("A\n");
else if(m+f>=65)printf("B\n");
else if(m+f>=50)printf("C\n");
else if(m+f>=30) {
if(r>=50)printf("C\n")... | File "/tmp/tmpxc9gtcvi/tmpk5lwviiy.py", line 1
int main(void) {
^^^^
SyntaxError: invalid syntax
| |
s552022068 | p02411 | u971748390 | 1423227915 | Python | Python3 | py | Runtime Error | 0 | 0 | 334 | while True:
m,f,r=map(int,input().split())
if m==f==r==-1 : break
if (m==-1) or (f==-1):
print('F')
if(m+f>=80):
print('A')
if (65<= m+f) and (m+f<80) :
print('B')
if (50<= m+f) and (m+f<60):
print('C')
if(30<= m+f) and (m+f<50):
if (50<=r):
print('C')
else
print('D')
if(m+f<30):... | File "/tmp/tmp7sas_yyv/tmp8e434lq_.py", line 20
else
^
SyntaxError: expected ':'
| |
s059239449 | p02411 | u527848444 | 1424654578 | 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
mf = m + f
if mf <= 80:
priftf('A')
elif 65 <= mf <= 79:
printf('B')
elif 50 <= mf <= 64 || r >= 50:
printf('C')
elif 30 <= mf <=49:
printf('D')
else:
pr... | File "/tmp/tmpz02z65ow/tmp2uchqine.py", line 11
elif 50 <= mf <= 64 || r >= 50:
^
SyntaxError: invalid syntax
| |
s482020173 | p02411 | u442346200 | 1424655726 | Python | Python3 | py | Runtime Error | 0 | 0 | 330 | while True:
(m, fm r) = [int(i) for i in input().split()]
if m == f == r == -1:
break
mf = m + f
if m == -1 of f == -1 of mf < 30:
print('F')
elif mf < 50 and r < 50:
print('D')
elif mf < 65:
print('C')
elif mf < 80:
print('B')
else:
... | File "/tmp/tmpoo05w1qe/tmp2elyc2m0.py", line 2
(m, fm r) = [int(i) for i in input().split()]
^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s024571507 | p02411 | u442346200 | 1424655755 | Python | Python3 | py | Runtime Error | 0 | 0 | 330 | while True:
(m, f, r) = [int(i) for i in input().split()]
if m == f == r == -1:
break
mf = m + f
if m == -1 of f == -1 of mf < 30:
print('F')
elif mf < 50 and r < 50:
print('D')
elif mf < 65:
print('C')
elif mf < 80:
print('B')
else:
... | File "/tmp/tmpo2radqrn/tmpflkrdbsx.py", line 8
if m == -1 of f == -1 of mf < 30:
^^
SyntaxError: invalid syntax
| |
s421172051 | p02411 | u442346200 | 1424655784 | Python | Python3 | py | Runtime Error | 0 | 0 | 328 | while True:
(m, f, r) = [int(i) for i in input().split()]
if m == f == r == -1:
break
mf = m + f
if m == -1 or == -1 of mf < 30:
print('F')
elif mf < 50 and r < 50:
print('D')
elif mf < 65:
print('C')
elif mf < 80:
print('B')
else:
pr... | File "/tmp/tmpwoorp65v/tmptfcd3if8.py", line 8
if m == -1 or == -1 of mf < 30:
^^
SyntaxError: invalid syntax
| |
s436886302 | p02411 | u442346200 | 1424655803 | Python | Python3 | py | Runtime Error | 0 | 0 | 330 | while True:
(m, f, r) = [int(i) for i in input().split()]
if m == f == r == -1:
break
mf = m + f
if m == -1 or f == -1 of mf < 30:
print('F')
elif mf < 50 and r < 50:
print('D')
elif mf < 65:
print('C')
elif mf < 80:
print('B')
else:
... | File "/tmp/tmp5hy87icx/tmpc155vtl7.py", line 8
if m == -1 or f == -1 of mf < 30:
^^
SyntaxError: invalid syntax
| |
s979354846 | p02411 | u745846646 | 1424656885 | Python | Python3 | py | Runtime Error | 0 | 0 | 331 | while True:
(m ,f ,r) = [int(i) for i in input().split()]
if m == f == r == -1:
break
mf = m + f
if m == -1 or f == -1 mf < 30:
print('F')
elif mf < 50 and r < 50:
print('D')
elif mf < 65:
print('C')
elif mf < 80:
print('B')
else:
... | File "/tmp/tmpfca7i03g/tmp41w8mw9w.py", line 8
if m == -1 or f == -1 mf < 30:
^^
SyntaxError: invalid syntax
| |
s694004401 | p02411 | u669360983 | 1430298010 | Python | Python3 | py | Runtime Error | 0 | 0 | 451 | import sys
while True:
data=list(map(int,input().split()))
if data[0]==data[1]==data[2]==-1: break
if data[0]!=-1 and data[1]!=-1:
sum=data[0]+data[1]
if data[2]!=-1 and sum<data[2]
sum=data[2]
if sum>=50:
sum=50
elif sum<50:
sum=0
if data[0]==-1 or data[1]==-1:
print('F')
elif sum<30 :
print(... | File "/tmp/tmpxf314_hg/tmpom9quja3.py", line 8
if data[2]!=-1 and sum<data[2]
^
SyntaxError: expected ':'
| |
s167494950 | p02411 | u669360983 | 1430298033 | Python | Python3 | py | Runtime Error | 0 | 0 | 451 | import sys
while True:
data=list(map(int,input().split()))
if data[0]==data[1]==data[2]==-1: break
if data[0]!=-1 and data[1]!=-1:
sum=data[0]+data[1]
if data[2]!=-1 and sum<data[2]
sum=data[2]
if sum>=50:
sum=50
elif sum<50:
sum=0
if data[0]==-1 or data[1]==-1:
print('F')
elif sum<30 :
print(... | File "/tmp/tmpp8_w1uyo/tmpq7ymsqsg.py", line 8
if data[2]!=-1 and sum<data[2]
^
SyntaxError: expected ':'
| |
s592179946 | p02411 | u669360983 | 1430298433 | Python | Python3 | py | Runtime Error | 0 | 0 | 305 | while True:
m,f,r=map(int,input().split())
if m==f==r==-1: break
if m==-1 or f==-1:
sum=0
elif r!=-1:
if r>49:
sum=50
else :
sum=r
elif sum<30 :
print('F')
elif 30<=sum<50:
print('D')
elif 50<=sum<65:
print('C')
elif 65<=sum<=79:
print('B')
elif 80<=sum:
print('A')
| Traceback (most recent call last):
File "/tmp/tmp7im5l1i_/tmp4xgll_3g.py", line 2, in <module>
m,f,r=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s761284165 | p02411 | u571345655 | 1435462337 | Python | Python | py | Runtime Error | 0 | 0 | 507 | True:
line = raw_input()
if line == '-1 -1 -1':
break
middle, final, re = map(int, line.split())
if middle == -1 or final == -1:
grade = 'F'
elif middle + final >= 80:
grade = 'A'
elif 65 <= middle + final < 80:
grade = 'B'
elif 50 <= middle + final < 65:
... | File "/tmp/tmpkzh687c3/tmppuclry_c.py", line 1
True:
^
SyntaxError: invalid syntax
| |
s133461522 | p02411 | u713218261 | 1439170521 | Python | Python3 | py | Runtime Error | 0 | 0 | 337 | (m, f, r) = [int(i) for i in input().split()]
if m==-1 and f==-1 and r==-1:
break
g = m + f
if m == -1 or f == -1 or g < 30:
print('F')
elif g >= 80:
print('A')
elif g >= 65:
print('B')
elif g >= 30 or r >= 50:
print('C')
else:
print('D')
~ ... | File "/tmp/tmphdhjchkh/tmpm_4yjnkm.py", line 2
if m==-1 and f==-1 and r==-1:
IndentationError: unexpected indent
| |
s205822923 | p02411 | u713218261 | 1439170652 | Python | Python3 | py | Runtime Error | 0 | 0 | 360 | while True:
(m, f, r) = [int(i) for i in input().split()]
if m==-1 and f==-1 and r==-1:
break
g = m + f
if m == -1 or f == -1 or g < 30:
print('F')
elif g >= 80:
print('A')
elif g >= 65:
print('B')
elif g >= 50 or r >= 50:
print('C')
else:... | File "/tmp/tmpuvi374ns/tmpfegiabpe.py", line 3
if m==-1 and f==-1 and r==-1:
IndentationError: unexpected indent
| |
s541879087 | p02411 | u713218261 | 1439170866 | Python | Python3 | py | Runtime Error | 0 | 0 | 335 | while True:
(m, f, r) = [int(i) for i in input().split()]
if m==-1 and f==-1 and r==-1:
break
g = m + f
if m == -1 or f == -1 or g < 30:
print('F')
elif g < 50 or r < 50:
print('D')
elif g < 65:
print('C')
elif g < 80:
print('B')
else:
... | File "/tmp/tmpon05axn3/tmpwk3q_gh_.py", line 3
if m==-1 and f==-1 and r==-1:
IndentationError: unexpected indent
| |
s823300306 | p02411 | u713218261 | 1439171012 | Python | Python3 | py | Runtime Error | 0 | 0 | 327 | while True:
(m, f, r) = [int(i) for i in input().split()]
if m == f == r == -1:
break
g = m + f
if m == -1 or f == -1 or g < 30:
print('F')
elif g < 50 or r < 50:
print('D')
elif g < 65:
print('C')
elif g < 80:
print('B')
else:
pri... | File "/tmp/tmpmzsbvds1/tmpvf4sskd1.py", line 3
if m == f == r == -1:
IndentationError: unexpected indent
| |
s756266649 | p02411 | u713218261 | 1439171131 | 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
g = m + f
if m == -1 or f == -1 or g < 30:
print('F')
elif g < 50 and r < 50:
print('D')
elif g < 65:
print('C')
elif g < 80:
print('B')
else:
print('A... | File "/tmp/tmp6fml19fl/tmph48wa7vo.py", line 3
if m==f==r==-1:
IndentationError: unexpected indent
| |
s036372645 | p02411 | u713218261 | 1439171231 | 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
g = m + f
if m == -1 or f == -1 or g < 30:
print('F')
elif g < 50 and r < 50:
print('D')
elif g < 65:
print('C')
elif g < 80:
print('B')
else:
print('A')
~ ... | File "/tmp/tmpdlmsy4lk/tmpbjkxsqd0.py", line 17
~
^
SyntaxError: invalid syntax
| |
s199183627 | p02411 | u713218261 | 1439171367 | Python | Python3 | py | Runtime Error | 0 | 0 | 360 | 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... | File "/tmp/tmpdtmn3isv/tmpih9wqhah.py", line 17
~
^
SyntaxError: invalid syntax
| |
s850383125 | p02411 | u255164080 | 1439171565 | Python | Python3 | py | Runtime Error | 0 | 0 | 340 | 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 < 5-:
print('D')
elif total < 65:
print('C')
elif total < 85:
print('B')
else... | File "/tmp/tmpzgoyit78/tmpvbhxvrim.py", line 9
elif total < 50 and r < 5-:
^
SyntaxError: invalid syntax
| |
s794586182 | p02411 | u925228699 | 1439171686 | Python | Python3 | py | Runtime Error | 0 | 0 | 304 | while True:
(m, f, r) = [int(i)for i in input().split()]
if m == f == -1:
break
total = m + f
if m == -1 or == -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') | File "/tmp/tmpjdrr396j/tmp5x5j6hsv.py", line 7
total = m + f
^
IndentationError: unindent does not match any outer indentation level
| |
s500879726 | p02411 | u118723993 | 1439171688 | Python | Python3 | py | Runtime Error | 0 | 0 | 347 | 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:
... | File "/tmp/tmph3eln0pw/tmp4kophrr0.py", line 3
if m == f == r == -1:
IndentationError: unexpected indent
| |
s082339784 | p02411 | u118723993 | 1439171782 | Python | Python3 | py | Runtime Error | 0 | 0 | 432 | 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... | File "/tmp/tmp6z1dwxyz/tmpz_v0rv3b.py", line 2
????????(m, f, r) = [int(i) for i in input().split()]
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s242763004 | p02411 | u118723993 | 1439171815 | Python | Python3 | py | Runtime Error | 0 | 0 | 434 | 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... | File "/tmp/tmpvhgsf02u/tmpt19uoh2h.py", line 2
????????(m, f, r) = [int(i) for i in input().split()]
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s259563847 | p02411 | u978086225 | 1439171994 | Python | Python3 | py | Runtime Error | 0 | 0 | 340 | while Ture:
(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/tmpes673y6g/tmpzb1xj9jj.py", line 1, in <module>
while Ture:
^^^^
NameError: name 'Ture' is not defined
| |
s494986173 | p02411 | u686134343 | 1439172246 | Python | Python3 | py | Runtime Error | 0 | 0 | 1 | j | Traceback (most recent call last):
File "/tmp/tmp5zg1lu1a/tmp9x09wmu4.py", line 1, in <module>
j
NameError: name 'j' is not defined
| |
s288690503 | p02411 | u978086225 | 1439944649 | Python | Python3 | py | Runtime Error | 0 | 0 | 281 | while True:
(m, f, r) = [int(i) for i in input().split()]
if m == f == r == -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') | File "/tmp/tmpxe8h2rz4/tmpw75nxriq.py", line 10
print('B'):
^
SyntaxError: invalid syntax
| |
s041382612 | p02411 | u978086225 | 1439944805 | 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... | File "/tmp/tmpjvw81hpt/tmph79ow4bs.py", line 13
print('B'):
^
SyntaxError: invalid syntax
| |
s638014098 | p02411 | u978086225 | 1439944868 | 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... | File "/tmp/tmpnr4aj5uh/tmp16c5c_ig.py", line 14
print('B'):
^
SyntaxError: invalid syntax
| |
s475560783 | p02411 | u978086225 | 1439944967 | 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... | File "/tmp/tmpm903g63c/tmpdcdvd61c.py", line 14
print('B'):
^
SyntaxError: invalid syntax
| |
s350294056 | p02411 | u473077745 | 1440650513 | Python | Python3 | py | Runtime Error | 0 | 0 | 419 | 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:
????????????????prin... | File "/tmp/tmpalmjj820/tmpkjpsngx0.py", line 2
????????(m, f, r) = [int(i) for i in input().split()]
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s694562194 | p02411 | u775586391 | 1447823044 | Python | Python3 | py | Runtime Error | 0 | 0 | 383 | l = []
l= []
while True:
m,f,r = map(int,input().split())
if m == f == r == -1:
break
else:
l.append([m,f,r])
for i in l:
s = ''
x = i[0] + i[1]
if i[0] == -1 or i[1] == -1:
s = 'F'
elif x >= 80:
s = 'A'
elif x >= 65:
s = 'B':
elif x >= 50:
s = 'C':
elif x >= 30:
s = 'D'
... | File "/tmp/tmpqi28v8fj/tmp409stuzj.py", line 17
s = 'B':
^
SyntaxError: invalid syntax
| |
s646162265 | p02411 | u775586391 | 1447823273 | Python | Python3 | py | Runtime Error | 0 | 0 | 377 | l = []
while True:
m,f,r = map(int,input().split())
if m == f == r == -1:
break
else:
l.append([m,f,r])
for i in l:
s = ''
x = i[0] + i[1]
if i[0] == -1 or i[1] == -1:
s = 'F'
elif x >= 80:
s = 'A'
elif x >= 65:
s = 'B':
elif x >= 50:
s = 'C':
elif x >= 30:
s = 'D'
if... | File "/tmp/tmp4rk6c8r0/tmps_r5dfyh.py", line 16
s = 'B':
^
SyntaxError: invalid syntax
| |
s617845460 | p02411 | u731710433 | 1454418007 | Python | Python3 | py | Runtime Error | 0 | 0 | 422 | while True:
m, f, v = [int(n) for n in input().split()]
if m == f == v == -1:
break
sum = m + f
if m == -1 or f == -1
print("F")
elif 80 <= sum:
print("A")
elif 65 <= sum < 80:
print("B")
elif 50 <= sum < 65:
print("C")
elif 30 <= sum < 50:
... | File "/tmp/tmplbbjnx0v/tmp1b7i5vv3.py", line 7
if m == -1 or f == -1
^
SyntaxError: expected ':'
| |
s450394667 | p02411 | u148101999 | 1456625626 | Python | Python | py | Runtime Error | 0 | 0 | 505 | num = []
while True:
m,f,r = map(int, raw_input().split())
if m = -1:
m = 0
if f = -1:
f = 0
ans = m + f
if m == f == r == -1:
break
if ans >= 80:
num.append("A")
elif (65 <= ans) and (ans < 80):
num.append("B")
elif (50 <= ans) and (ans < 65):
... | File "/tmp/tmpe7f0cb0e/tmpryopdrjr.py", line 4
if m = -1:
^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s913814672 | p02411 | u300858087 | 1456638746 | Python | Python | py | Runtime Error | 0 | 0 | 407 | num = []
while True:
l = map(int, raw_input().split())
if l[0] == l[1] == l[2] == -1:
break
sum = l[0] + l[1]
if sum >= 80:
num.append("A")
elif sum >= 65:
num.append("B")
elif sum >= 50:
num.append("C")
elif sum >= 30:
if l[2] >= 50:
num.append("C")
else :... | File "/tmp/tmp9nde6h05/tmpevo1vdku.py", line 10
num.append("B")
TabError: inconsistent use of tabs and spaces in indentation
| |
s288700620 | p02411 | u869301406 | 1459237426 | Python | Python | py | Runtime Error | 10 | 6400 | 652 | student_info = []
while True:
s = map(int,raw_input().split(" "))
if s[0] is s[1] is s[2] is -1:
break
student_info.append(s)
score_info = []
for s in student_info:
if s[0] == -1 or s[1] == -1:
score_info.append("F")
elif s[0]+s[1] >= 80:
score_info.append("A")
e... | File "/tmp/tmpgce1j502/tmpti30kwl5.py", line 33
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s181379481 | p02411 | u013479944 | 1461634431 | Python | Python | py | Runtime Error | 0 | 0 | 473 |
a = []
while True:
n = map(int, raw_input().split())
if n == [-1, -1, -1]:
break
a.append(n)
for n in range(len(a)):
m = a[n][0] + a[n][1]
if a[n][0] == -1 or a[n][1] == -1:
print "F"
break
if m >= 80: print "A"
if m >= 65 and m < 80: print "B"
if m >= 50 ... | File "/tmp/tmpwmtj_6sj/tmpfyvgdize.py", line 13
print "F"
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s579897570 | p02411 | u565781955 | 1466744075 | Python | Python3 | py | Runtime Error | 30 | 7716 | 534 |
if __name__ == "__main__":
while True:
score = [int(i) for i in input().split()]
if score[0] == score[1] == score[2] == -1:
break
if score[0] == -1 or score[1] == -1:
print ('F')
else:
if score[0] + score[1] >= 80:
print ('A')
elif score[0] + score[1] >= 65:
print ('B')
elif score[0] + ... | Traceback (most recent call last):
File "/tmp/tmperep1iay/tmpk19c4hnn.py", line 4, in <module>
score = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s646315518 | p02411 | u204883389 | 1470113246 | Python | Python3 | py | Runtime Error | 0 | 0 | 445 | while True:
(m, f, r) = map(int, raw_input().split())
if m == f == r == -1:
break
elif (m == -1 or f == -1) or (m + f < 30):
print "F"
elif m + f >= 80:
print "A"
elif 65 <= m + f < 80:
print "B"
elif 50 <= m + f < 65:
... | File "/tmp/tmp7soqqthm/tmpqjv6vtv0.py", line 6
print "F"
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s291028609 | p02411 | u204883389 | 1470113313 | Python | Python3 | py | Runtime Error | 0 | 0 | 452 | while True:
(m, f, r) = map(int(i) for i in input().split())
if m == f == r == -1:
break
elif (m == -1 or f == -1) or (m + f < 30):
print "F"
elif m + f >= 80:
print "A"
elif 65 <= m + f < 80:
print "B"
elif 50 <= m + f < 65... | File "/tmp/tmpej9g4j8l/tmpted5tgcl.py", line 6
print "F"
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s884829006 | p02411 | u600195957 | 1470114197 | Python | Python3 | py | Runtime Error | 0 | 0 | 365 | 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:
return A
elif 65 <= m +f < 80:
return B
elif 50 <= m+f < 65:
return C
elif 30 <= m+f < 50:
if r >= 50:
return C
e... | File "/tmp/tmpuzlivqqs/tmpn9n8cff8.py", line 7
return F
^^^^^^^^
SyntaxError: 'return' outside function
| |
s976805435 | p02411 | u644636020 | 1470114287 | Python | Python3 | py | Runtime Error | 0 | 0 | 390 | 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/tmpe8bmwobi/tmpztdrlj6b.py", line 2, in <module>
m, f, r = [int(i) for i in input().solit()]
^^^^^^^
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.