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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s969921578 | p02409 | u281808376 | 1540441594 | Python | Python3 | py | Runtime Error | 0 | 0 | 1108 | _1_1=[]
_1_2=[]
_1_3=[]
_2_1=[]
_2_2=[]
_2_3=[]
_3_1=[]
_3_2=[]
_3_3=[]
for i in range(10):
_1_1.append(0)
_1_2.append(0)
_1_3.append(0)
_2_1.append(0)
_2_2.append(0)
_2_3.append(0)
_3_1.append(0)
_3_2.append(0)
_3_3.append(0)
N=int(input())
s=[input() for i in range(N)]
bfrv=[]
for ... | Traceback (most recent call last):
File "/tmp/tmpo_eumjgt/tmpq3yq5oyq.py", line 20, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s219582677 | p02409 | u281808376 | 1540442517 | Python | Python3 | py | Runtime Error | 0 | 0 | 1301 | _1_1=[]
_1_2=[]
_1_3=[]
_2_1=[]
_2_2=[]
_2_3=[]
_3_1=[]
_3_2=[]
_3_3=[]
_4_1=[]
_4_2=[]
_4_3=[]
N=int(input())
s=[input() for i in range(N)]
bfrv=[]
for i in s:
bfrv.append(i.split())
for i in bfrv:
if int(i[0])==1 and int(i[1])==1:
_1_1[int(i[2])-1]+=int(i[3])
if int(i[0])==1 and int(i[1])==2:
... | Traceback (most recent call last):
File "/tmp/tmpq5x6b2po/tmpzr5zg_ji.py", line 13, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s403490276 | p02409 | u281808376 | 1540442942 | Python | Python3 | py | Runtime Error | 0 | 0 | 1301 | _1_1=[]
_1_2=[]
_1_3=[]
_2_1=[]
_2_2=[]
_2_3=[]
_3_1=[]
_3_2=[]
_3_3=[]
_4_1=[]
_4_2=[]
_4_3=[]
N=int(input())
s=[input() for i in range(N)]
bfrv=[]
for i in s:
bfrv.append(i.split())
for i in bfrv:
if int(i[0])==1 and int(i[1])==1:
_1_1[int(i[2])-1]+=int(i[2])
if int(i[0])==1 and int(i[1])==2:
... | Traceback (most recent call last):
File "/tmp/tmpuv8obucn/tmpz7a_9742.py", line 13, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s505950598 | p02409 | u281808376 | 1540445822 | Python | Python3 | py | Runtime Error | 0 | 0 | 1301 | _1_1=[]
_1_2=[]
_1_3=[]
_2_1=[]
_2_2=[]
_2_3=[]
_3_1=[]
_3_2=[]
_3_3=[]
_4_1=[]
_4_2=[]
_4_3=[]
N=int(input())
s=[input() for i in range(N)]
bfrv=[]
for i in s:
bfrv.append(i.split())
for i in bfrv:
if int(i[0])==1 and int(i[1])==1:
_1_1[int(i[2])-1]+=int(i[3])
if int(i[0])==1 and int(i[1])==2:
... | Traceback (most recent call last):
File "/tmp/tmpr4juki4z/tmp3id_xg6f.py", line 13, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s234367711 | p02409 | u281808376 | 1540446011 | Python | Python3 | py | Runtime Error | 0 | 0 | 1323 | _1_1=[]
_1_2=[]
_1_3=[]
_2_1=[]
_2_2=[]
_2_3=[]
_3_1=[]
_3_2=[]
_3_3=[]
_4_1=[]
_4_2=[]
_4_3=[]
N=int(input())
s=[input() for i in range(N)]
bfrv=[]
for i in s:
bfrv.append(i.split())
for i in bfrv:
if int(i[0])==1 and int(i[1])==1:
_1_1[int(i[2])-1]+=int(i[3])
elif int(i[0])==1 and int(i[1])==2:
... | Traceback (most recent call last):
File "/tmp/tmp3j0f_u8s/tmplkf59ssv.py", line 13, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s192475815 | p02409 | u281808376 | 1540446229 | Python | Python3 | py | Runtime Error | 0 | 0 | 1139 | _1_1=[]
_1_2=[]
_1_3=[]
_2_1=[]
_2_2=[]
_2_3=[]
_3_1=[]
_3_2=[]
_3_3=[]
_4_1=[]
_4_2=[]
_4_3=[]
N=int(input())
s=[input() for i in range(N)]
bfrv=[]
for i in s:
bfrv.append(i.split())
for i in bfrv:
if int(i[0])==1 and int(i[1])==1:
_1_1[int(i[2])-1]+=int(i[3])
elif int(i[0])==1 and int(i[1])==2:
... | Traceback (most recent call last):
File "/tmp/tmpxt6cex4v/tmpt7k9_r6j.py", line 13, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s813781073 | p02409 | u281808376 | 1540447880 | Python | Python3 | py | Runtime Error | 0 | 0 | 1631 | _1_1=[]
_1_2=[]
_1_3=[]
_2_1=[]
_2_2=[]
_2_3=[]
_3_1=[]
_3_2=[]
_3_3=[]
_4_1=[]
_4_2=[]
_4_3=[]
for i in range(10):
_1_1.append(0)
_1_2.append(0)
_1_3.append(0)
_2_1.append(0)
_2_2.append(0)
_2_3.append(0)
_3_1.append(0)
_3_2.append(0)
_3_3.append(0)
_4_1.append(0)
_4_2.appen... | File "/tmp/tmpzf74to7d/tmpiwqedyaw.py", line 56
print(" "+*_1_1)
^
SyntaxError: invalid syntax
| |
s472617517 | p02409 | u281808376 | 1540451254 | Python | Python3 | py | Runtime Error | 0 | 0 | 1607 | _1_1=[]
_1_2=[]
_1_3=[]
_2_1=[]
_2_2=[]
_2_3=[]
_3_1=[]
_3_2=[]
_3_3=[]
_4_1=[]
_4_2=[]
_4_3=[]
for i in range(10):
_1_1.append(0)
_1_2.append(0)
_1_3.append(0)
_2_1.append(0)
_2_2.append(0)
_2_3.append(0)
_3_1.append(0)
_3_2.append(0)
_3_3.append(0)
_4_1.append(0)
_4_2.appen... | Traceback (most recent call last):
File "/tmp/tmpyy742k_f/tmp4h2yfzsc.py", line 26, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s151803479 | p02409 | u643542669 | 1546019564 | Python | Python3 | py | Runtime Error | 0 | 0 | 254 | resident = [[[0] * 10] * 3] * 4
for _ in range(int(input())):
b, f, r, v = map(int, input().split())
resident[b][f][r] += v
for b in range(4):
for f in range(3):
print(" ".join(str(resident[b][f])))
print("####################")
| Traceback (most recent call last):
File "/tmp/tmpk1ef2zi9/tmpok2nxndl.py", line 2, in <module>
for _ in range(int(input())):
^^^^^^^
EOFError: EOF when reading a line
| |
s698135744 | p02409 | u902639104 | 1551303573 | Python | Python3 | py | Runtime Error | 0 | 0 | 321 | n=int(input())
lst=[[[0]*10 for i in range(0,3)] for j in range(0,4)]
for k in range(n):
b,f,r,v = map(int,input().split())
lst[b-1][f-1][r-1] +=v
x=0
for i in range (4)
if x<>0: print("#"*20)
+=x
for a in range(3):
for b in range(10):
print((lst[i][a][b]),end="")
print()... | File "/tmp/tmpcoqcxa4s/tmpyxnl57ko.py", line 7
for i in range (4)
^
SyntaxError: expected ':'
| |
s947431228 | p02409 | u902639104 | 1551303610 | Python | Python3 | py | Runtime Error | 0 | 0 | 321 | n=int(input())
lst=[[[0]*10 for i in range(0,3)] for j in range(0,4)]
for k in range(n):
b,f,r,v = map(int,input().split())
lst[b-1][f-1][r-1] +=v
x=0
for i in range (4)
if x!=0: print("#"*20)
+=x
for a in range(3):
for b in range(10):
print((lst[i][a][b]),end="")
print()... | File "/tmp/tmp2nmj_cb5/tmp9tp9yef0.py", line 7
for i in range (4)
^
SyntaxError: expected ':'
| |
s736152280 | p02409 | u902639104 | 1551303647 | Python | Python3 | py | Runtime Error | 0 | 0 | 323 | n=int(input())
lst=[[[0]*10 for i in range(0,3)] for j in range(0,4)]
for k in range(n):
b,f,r,v = map(int,input().split())
lst[b-1][f-1][r-1] +=v
x=0
for i in range (4):
if x!=0: print("#"*20)
+=x
for a in range(3):
for b in range(10):
print((lst[i][a][b]),end="")
print(... | File "/tmp/tmp0k0l94sy/tmpv30kbirf.py", line 9
+=x
^^
SyntaxError: invalid syntax
| |
s419730910 | p02409 | u902639104 | 1551303735 | Python | Python3 | py | Runtime Error | 0 | 0 | 330 | n=int(input())
lst=[[[0]*10 for i in range(0,3)] for j in range(0,4)]
for k in range(n):
b,f,r,v = map(int,input().split())
lst[b-1][f-1][r-1] +=v
x=0
for i in range (4):
if x!=0: print("#"*20)
x+=1
for a in range(3):
for b in range(10):
print(" %d",%(lst[i][a][b]),end="")
... | File "/tmp/tmpigygtpew/tmpyyzxag0f.py", line 12
print(" %d",%(lst[i][a][b]),end="")
^
SyntaxError: invalid syntax
| |
s219773147 | p02409 | u902639104 | 1551386524 | Python | Python3 | py | Runtime Error | 0 | 0 | 337 | n= int(input())
tbl=[[[0]*10 for i in range(0,3)] for j in range(0,4)]
for k in range(n):
b,f,r,v = map(int,input().split())
tbl[b-1][f-1][r-1] +=v
x=0
for i in range (4):
if x !=0 : print("#"*20)
x +=1
for a in range(3):
for b in range(10):
print(" %d%(tbl[i][a][b]),end="") ... | File "/tmp/tmpio9xga0e/tmp7b80h2qt.py", line 12
print(" %d%(tbl[i][a][b]),end="")
^
SyntaxError: unterminated string literal (detected at line 12)
| |
s156775275 | p02409 | u340503368 | 1555765582 | Python | Python3 | py | Runtime Error | 0 | 0 | 417 | rooms = [[[0 for i in range(10)] for j in range(3)] for k in range(4)]
n = int(input())
for l in range(n):
a,b,c,d = map(int, input().split())
rooms[a-1][b-1][c-1] += d
for i in range(4):
for j in range(3):
for k in range(10):
print(rooms[i][j][k], end = "")
if k != 9:
... | File "/tmp/tmp6pfhnddc/tmpoobidzd3.py", line 13
if i != 3
^
SyntaxError: expected ':'
| |
s234465762 | p02409 | u482227082 | 1556434664 | Python | Python3 | py | Runtime Error | 0 | 0 | 309 | table = [0] * 4*3*10
n = int(input())
for i in range(n)
b,f,r,v = map(int, input().split())
table[30(b-1)+10(f-1)+(r-1)] += v
for i in range(120)
if i % 30:
print("####################")
print(table[i], end="")
if i%10 ==9:
print()
else:
print(" ", end="")
| File "/tmp/tmpqywlcr87/tmps4o2xakj.py", line 5
for i in range(n)
^
SyntaxError: expected ':'
| |
s740723144 | p02409 | u482227082 | 1556434671 | Python | Python3 | py | Runtime Error | 0 | 0 | 310 | table = [0] * 4*3*10
n = int(input())
for i in range(n):
b,f,r,v = map(int, input().split())
table[30(b-1)+10(f-1)+(r-1)] += v
for i in range(120)
if i % 30:
print("####################")
print(table[i], end="")
if i%10 ==9:
print()
else:
print(" ", end="")
| File "/tmp/tmp2xuzcjg_/tmpaqvjs3cy.py", line 9
for i in range(120)
^
SyntaxError: expected ':'
| |
s230270634 | p02409 | u482227082 | 1556434678 | Python | Python3 | py | Runtime Error | 0 | 0 | 311 | table = [0] * 4*3*10
n = int(input())
for i in range(n):
b,f,r,v = map(int, input().split())
table[30(b-1)+10(f-1)+(r-1)] += v
for i in range(120):
if i % 30:
print("####################")
print(table[i], end="")
if i%10 ==9:
print()
else:
print(" ", end="")
| /tmp/tmpirr1__c6/tmpt_o686i2.py:7: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
table[30(b-1)+10(f-1)+(r-1)] += v
/tmp/tmpirr1__c6/tmpt_o686i2.py:7: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
table[30(b-1)+10(f-1)+(r-1)] += v
Traceback (most recent call last... | |
s885663700 | p02409 | u805716376 | 1556711847 | Python | Python3 | py | Runtime Error | 0 | 0 | 250 | n = int(input())
a = []
a = [[[0]*10 for _ in range(3)] for _ in range(4)]
for i in range(n):
b, f, r, v = map(int, input().split())
a[b][f][r] += v
for i in range(4):
for j in range(3):
print(*a[i][j])
print('#'*20)
| Traceback (most recent call last):
File "/tmp/tmpo3fah_n8/tmp_7v4vw_7.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s171019425 | p02409 | u805716376 | 1556711847 | Python | Python3 | py | Runtime Error | 0 | 0 | 250 | n = int(input())
a = []
a = [[[0]*10 for _ in range(3)] for _ in range(4)]
for i in range(n):
b, f, r, v = map(int, input().split())
a[b][f][r] += v
for i in range(4):
for j in range(3):
print(*a[i][j])
print('#'*20)
| Traceback (most recent call last):
File "/tmp/tmpgk5yme8o/tmp0q365x_i.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s041420426 | p02409 | u805716376 | 1556711856 | Python | Python3 | py | Runtime Error | 0 | 0 | 250 | n = int(input())
a = []
a = [[[0]*10 for _ in range(3)] for _ in range(4)]
for i in range(n):
b, f, r, v = map(int, input().split())
a[b][f][r] += v
for i in range(4):
for j in range(3):
print(*a[i][j])
print('#'*20)
| Traceback (most recent call last):
File "/tmp/tmpphwrog0d/tmp8ahcbx9x.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s313006999 | p02409 | u610816226 | 1556866111 | Python | Python3 | py | Runtime Error | 0 | 0 | 283 | import numpy as np
n = int(input())
A = np.zeros((4, 3, 10))
for _ in range(n):
b, f, r, v = map(int, input().split())
A[b-1, f-1, r-1] = v
for i in A.tolist():
for v in i:
v = [str(int(h)) for h in v]
print(' '.join(v))
print('####################')
| Traceback (most recent call last):
File "/tmp/tmphsh5wyci/tmp34mzepbn.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s483101291 | p02409 | u610816226 | 1556866228 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | import numpy as np
n = int(input())
A = np.zeros((4, 3, 10))
for _ in range(n):
b, f, r, v = map(int, input().split())
A[b-1, f-1, r-1] = v
for i in A:
for v in i:
v = [str(int(h)) for h in v]
print(' '.join(v))
print('####################')
| Traceback (most recent call last):
File "/tmp/tmpn98_74at/tmpxlamm1jm.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s662404739 | p02409 | u610816226 | 1556867158 | Python | Python3 | py | Runtime Error | 0 | 0 | 282 | n = int(input())
A = [[0]*10 for i in range(12)]
for _ in range(n):
b, f, r, v = map(int, input().split())
A[(b-1)*3 + (f-1)][r-1] = v
for i, v in enumerate(A, 1):
print(' '.join([str(p) for p in v]))
if i % 3 == 0 and i != n
print('####################')
| File "/tmp/tmpd_jkbxak/tmp1gd_9zoo.py", line 9
if i % 3 == 0 and i != n
^
SyntaxError: expected ':'
| |
s766108336 | p02409 | u610816226 | 1556867204 | Python | Python3 | py | Runtime Error | 0 | 0 | 286 | n = int(input())
A = [[0]*10 for i in range(12)]
for _ in range(n):
b, f, r, v = map(int, input().split())
A[(b-1)*3 + (f-1)][r-1] = v
for i, v in enumerate(A, 1):
print(' '.join([str(p) for p in v]))
if (i % 3 == 0) and (i != n)
print('####################')
| File "/tmp/tmp2z0nzi8e/tmpo12wbnok.py", line 9
if (i % 3 == 0) and (i != n)
^
SyntaxError: expected ':'
| |
s795181482 | p02409 | u610816226 | 1556867315 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n = int(input())
A = [[0]*10 for i in range(12)]
for _ in range(n):
b, f, r, v = map(int, input().split())
A[(b-1)*3 + (f-1)][r-1] = v
for i, v in enumerate(A, 1):
print(' '.join([str(p) for p in v]))
if i == 3, 6, 9:
print('####################')
| File "/tmp/tmplov8uedm/tmpxpb0fekh.py", line 9
if i == 3, 6, 9:
^
SyntaxError: invalid syntax
| |
s587014554 | p02409 | u610816226 | 1556867340 | Python | Python3 | py | Runtime Error | 0 | 0 | 287 | n = int(input())
A = [[0]*10 for i in range(12)]
for _ in range(n):
b, f, r, v = map(int, input().split())
A[(b-1)*3 + (f-1)][r-1] = v
for i, v in enumerate(A, 1):
print(' '.join([str(p) for p in v]))
if i == 3 ori == 6 or i == 9:
print('####################')
| File "/tmp/tmp43z7n5m3/tmp_dj2tk34.py", line 9
if i == 3 ori == 6 or i == 9:
^^^
SyntaxError: invalid syntax
| |
s362673928 | p02409 | u535719732 | 1559221101 | Python | Python3 | py | Runtime Error | 0 | 0 | 519 | inf = int(input())
i = 0
table = []
buil = [[[0]+10 for i in range(3)]for i in range(4)]
while(i < inf):
b,f,r,v = map(int,input().split())
b -=1
f -=1
r -=1
buil[b][f][r] += c
if buil[b][f][r] > 9: buil[b][f][r] = 9
elif buil[b][f][r] < 0: buil[b][f][r] = 0
i += 1
for i in range(4):
... | File "/tmp/tmpcia9e7jn/tmpenz2ak2a.py", line 18
for j in range(3):
IndentationError: unexpected indent
| |
s976980623 | p02409 | u535719732 | 1559221116 | Python | Python3 | py | Runtime Error | 0 | 0 | 503 | inf = int(input())
i = 0
table = []
buil = [[[0]+10 for i in range(3)]for i in range(4)]
while(i < inf):
b,f,r,v = map(int,input().split())
b -=1
f -=1
r -=1
buil[b][f][r] += c
if buil[b][f][r] > 9: buil[b][f][r] = 9
elif buil[b][f][r] < 0: buil[b][f][r] = 0
i += 1
for i in range(4):
... | Traceback (most recent call last):
File "/tmp/tmpyry8apy1/tmp6qyayv0z.py", line 1, in <module>
inf = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s071287928 | p02409 | u535719732 | 1559221124 | Python | Python3 | py | Runtime Error | 0 | 0 | 503 | inf = int(input())
i = 0
table = []
buil = [[[0]*10 for i in range(3)]for i in range(4)]
while(i < inf):
b,f,r,v = map(int,input().split())
b -=1
f -=1
r -=1
buil[b][f][r] += c
if buil[b][f][r] > 9: buil[b][f][r] = 9
elif buil[b][f][r] < 0: buil[b][f][r] = 0
i += 1
for i in range(4):
... | Traceback (most recent call last):
File "/tmp/tmp_xnqnydq/tmpnyuvn0y8.py", line 1, in <module>
inf = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s576799068 | p02409 | u120055135 | 1559540508 | Python | Python3 | py | Runtime Error | 0 | 0 | 553 | n = int(input())
tenants = {}
for i in range(n):
tenant = list(map(int,input().split()))
key = f'{b} {f} {r}'
if key in d:
d[key] += v
else:
d[key] = v
b = tenant[0]
f = tenant[1]
r = tenant[2]
v = tenant[3]
for b in range(1,5):
for f in range(1,4):
for r in range(1,11):
ke... | Traceback (most recent call last):
File "/tmp/tmp2ztmx178/tmpxlsv1di8.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s025825647 | p02409 | u131984977 | 1422930811 | Python | Python3 | py | Runtime Error | 0 | 0 | 366 | data = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
count = int(input())
for c in range(count):
(b, f, r, v) = [int(x) for x in input().split()]
data[b][f][r] += v
for b in range(4):
for f in range(3):
for r in range(10):
print(data[b][f][r], end=' ')
print()... | Traceback (most recent call last):
File "/tmp/tmplajdz3wd/tmpwmtzz499.py", line 3, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s038416918 | p02409 | u131984977 | 1422930960 | Python | Python3 | py | Runtime Error | 0 | 0 | 375 | data = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
count = int(input())
for c in range(count):
(b, f, r, v) = [int(x) for x in input().split()]
data[b - 1][f - 1][r - 1] += v
for b in range(4):
for f in range(3):
for r in range(10):
print(data[b][f][r], end=' ')
... | File "/tmp/tmpn4t6f8pl/tmp6amjm50_.py", line 14
print('#' * 20) if b < 4 - 1 else pass
^^^^
SyntaxError: invalid syntax
| |
s116686633 | p02409 | u823030818 | 1422940844 | Python | Python3 | py | Runtime Error | 0 | 0 | 425 | int house[5][4][11];
int main(void)
{
int n,i,j,k;
int b,f,r,v;
scanf("%d",&n);
for(i = 0; i < n;i++)
{
scanf("%d %d %d %d",&b,&f,&r,&v);
house[b][f][r] += v;
}
for(i = 1; i < 5;i++)
{
for(j = 1; j < 4;j++)
{
for(k = 1; k < 11;k++)
{
printf(" %d",house[i][j][... | File "/tmp/tmpqbgxbrz8/tmpqnk4u44t.py", line 1
int house[5][4][11];
^^^^^
SyntaxError: invalid syntax
| |
s567085993 | p02409 | u745846646 | 1424056166 | Python | Python3 | py | Runtime Error | 0 | 0 | 351 | data = [[[0 for r in range(10)] for f range(3)] for b in range(4)]
n = int(input())
for nc in range(n):
(b,f,r,v) = [int(i) for i in input().split()]
data[b - 1][f -1][r -1] += v
for b in range(4):
for f in range(3):
for r in range(10):
print(' {0}'.format(data[b][f][r]),end='')
... | File "/tmp/tmpbtxmd3ra/tmpo_pva6o5.py", line 1
data = [[[0 for r in range(10)] for f range(3)] for b in range(4)]
^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s089594872 | p02409 | u745846646 | 1424056300 | Python | Python3 | py | Runtime Error | 0 | 0 | 355 | data = [[[0 for r in range(10)] for f range(3)] for b in range(4)]
n = int(input())
for nc in range(n):
(b, f, r, v) = [int(i) for i in input().split()]
data[b - 1][f -1][r -1] += v
for b in range(4):
for f in range(3):
for r in range(10):
print(' {0}'.format(data[b][f][r]), end='')
... | File "/tmp/tmp6mho996r/tmpzay38e0s.py", line 1
data = [[[0 for r in range(10)] for f range(3)] for b in range(4)]
^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s199634544 | p02409 | u746531266 | 1434738593 | Python | Python | py | Runtime Error | 0 | 0 | 233 | = Array.new(4){Array.new(3){Array.new(10,0)}}
b = gets.to_i
b.times do
c = gets.split.map(&:to_i)
a[c[0]-1][c[1]-1][c[2]-1] += c[3]
end
4.times do |i|
3.times do |j|
print " ",a[i][j].join(" "),"\n"
end
puts "#"*20
end | File "/tmp/tmpz8g59hfg/tmph_r4191g.py", line 1
= Array.new(4){Array.new(3){Array.new(10,0)}}
IndentationError: unexpected indent
| |
s091090848 | p02409 | u255164080 | 1438566836 | Python | Python3 | py | Runtime Error | 0 | 0 | 367 | cards = {
'S': [0 for _ in range(13)],
'H': [0 for _ in range(13)],
'C': [0 for _ in range(13)],
'D': [0 for _ in range(13)],
}
n = int(input())
for _ in range(n):
(s, r) = input().split()
cards[s][int(r) - 1] = 1
for s in ('S', 'H', 'C', 'D'):
for r in range(13):
i... | Traceback (most recent call last):
File "/tmp/tmp2k7o0fvh/tmpd17y43fa.py", line 7, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s850240250 | p02409 | u255164080 | 1438566873 | Python | Python3 | py | Runtime Error | 0 | 0 | 368 | cards = {
'S': [0 for _ in range(13)],
'H': [0 for _ in range(13)],
'C': [0 for _ in range(13)],
'D': [0 for _ in range(13)],
}
n = int(input())
for _ in range(n):
(s, r) = input().split()
cards[s][int(r) - 1] = 1
for s in ('S', 'H', 'C', 'D'):
for r in range(13):
... | Traceback (most recent call last):
File "/tmp/tmpxqh46b3i/tmpeplujcat.py", line 7, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s513743563 | p02409 | u527848444 | 1438568314 | Python | Python3 | py | Runtime Error | 0 | 0 | 389 | data = [[[0 for r in range(10)] for r in range(3)] for b in range(4)]
n = int(input())
for _ in range(n):
(b, f, r, v) = [int(i) for i in input().split()]
for b in range(4):
for f in range(3):
for r in range(10):
print('',data[b][f][r], end='')
print()
print('#' * 20) ... | File "/tmp/tmpkf_r94at/tmpp4w01uv9.py", line 10
print('',data[b][f][r], end='')
^
IndentationError: expected an indented block after 'for' statement on line 9
| |
s156368683 | p02409 | u713218261 | 1439167251 | Python | Python3 | py | Runtime Error | 0 | 0 | 365 | data = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
n = int(input())
for _ in range(n):
(b,f,r,v) = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for b in range(4):
for f in range(3):
for r in range(10):
print('',data[b][f][r], end='')
prin... | File "/tmp/tmpw7jofc97/tmph4xv2ry0.py", line 15
~
^
SyntaxError: invalid syntax
| |
s963023027 | p02409 | u501414488 | 1439856860 | Python | Python3 | py | Runtime Error | 0 | 0 | 357 | date = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
n = int(input())
for _ in range(n):
(b,f,r,v) = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for b in range(4):
for f in range(3):
for r in range(10):
print('',data[b][f][r], end='')
print()... | File "/tmp/tmppkbd83v7/tmppf2jv06j.py", line 11
print()
^
IndentationError: unindent does not match any outer indentation level
| |
s112801892 | p02409 | u501414488 | 1439856995 | Python | Python3 | py | Runtime Error | 0 | 0 | 359 | date = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
n = int(input())
for _ in range(n):
(b,f,r,v) = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for b in range(4):
for f in range(3):
for r in range(10):
print('',data[b][f][r], end='')
print(... | Traceback (most recent call last):
File "/tmp/tmpqnz48x8p/tmp6lfpapth.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s049968648 | p02409 | u997158994 | 1441091645 | Python | Python | py | Runtime Error | 0 | 0 | 459 | import numpy as np
house=np.matrix('''0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0''')
for i in xrange(1):
b,f,r,v=... | File "/tmp/tmpgh14kfb4/tmp9j6k9aix.py", line 10
if i%3==0 and i!=0: print '#'*20
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s332559478 | p02409 | u997158994 | 1441091728 | Python | Python | py | Runtime Error | 0 | 0 | 509 | import numpy as np
house=np.matrix('''0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0''')
for i in xrange(int(... | File "/tmp/tmpgkpaqcwp/tmpitc_djz4.py", line 10
if i%3==0 and i!=0: print '#'*20
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s158763000 | p02409 | u997158994 | 1441091830 | Python | Python | py | Runtime Error | 0 | 0 | 504 | import numpy as np
house=np.matrix('''0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0''')
for i in xrange(int(... | File "/tmp/tmpl5rxhmlw/tmpuc7d_4u8.py", line 10
if i%3==0 and i!=0: print '#'*20
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s080348684 | p02409 | u997158994 | 1441092574 | Python | Python | py | Runtime Error | 0 | 0 | 493 | import numpy as np
house=np.matrix('''0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0''')
for i in xrange(int(raw_input())):
b,... | File "/tmp/tmp4ztnxs_o/tmpvh5nn1t3.py", line 7
if i%3==0 and i!=0: print '#'*20
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s780403034 | p02409 | u997158994 | 1441094719 | Python | Python | py | Runtime Error | 0 | 0 | 507 | import numpy as np
house=np.matrix('''0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0''')
for i in xrange(int(raw_input())):
... | File "/tmp/tmp2tvvoiin/tmp1pm63nll.py", line 10
if i%3==0 and i!=0: print '#'*20
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s233087618 | p02409 | u997158994 | 1441094846 | Python | Python | py | Runtime Error | 0 | 0 | 500 | import numpy as np
house=np.matrix('''0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0;0,0,0,0,0,0,0,0,0,0''')
for i in xrange(int(raw_input())):
... | File "/tmp/tmp2kcgdsqw/tmpnuk8cg_j.py", line 10
if i%3==0 and i!=0: print '#'*20
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s398447496 | p02409 | u334643297 | 1454514867 | Python | Python | py | Runtime Error | 0 | 0 | 301 | import sys
n = input()
a = [[[0]*10 for i in range(3)] for i in range(4)]
for i in xrange(n):
b = map(int, raw_input().split())
a[b[0]-1][b[1]-1][b[2]-1] += b[3]
for i in range(4):
for j in range(3):
for k in range(10):
sys.stdout.write(' %s' % a[i][j][k])
print ""
if i != 3
print '#'*20 | File "/tmp/tmpgl2erq0u/tmpwt8q0q4o.py", line 12
print ""
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s512192591 | p02409 | u334643297 | 1454514881 | Python | Python | py | Runtime Error | 0 | 0 | 301 | import sys
n = input()
a = [[[0]*10 for i in range(3)] for i in range(4)]
for i in xrange(n):
b = map(int, raw_input().split())
a[b[0]-1][b[1]-1][b[2]-1] += b[3]
for i in range(4):
for j in range(3):
for k in range(10):
sys.stdout.write(' %s' % a[i][j][k])
print ""
if i != 3
print '#'*20 | File "/tmp/tmp41n0zxru/tmplllv2yq8.py", line 12
print ""
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s684308495 | p02409 | u424209323 | 1454954878 | Python | Python | py | Runtime Error | 0 | 0 | 378 | Adr = [[[0 for r in range(10)]for f in range(3)]for b in range(4)]
n = input()
for i in range(n):
Inf = map(int, raw_input().split())
Adr[Inf[2]-1][Inf[1]-1][Inf[0]-1] += Inf[0]
for b in range(4):
for f in range(3):
print "",
for r in range(10):
print Adr[b][f][r],
pr... | File "/tmp/tmprcuo6mgb/tmptit75uo_.py", line 12
print "",
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s514940642 | p02409 | u424209323 | 1454955087 | Python | Python | py | Runtime Error | 0 | 0 | 378 | Adr = [[[0 for r in range(10)]for f in range(3)]for b in range(4)]
n = input()
for i in range(n):
Inf = map(int, raw_input().split())
Adr[Inf[2]-1][Inf[1]-1][Inf[0]-1] += Inf[0]
for b in range(4):
for f in range(3):
print "",
for r in range(10):
print Adr[b][f][r],
pr... | File "/tmp/tmpgoq6hgzp/tmp36k3pftv.py", line 12
print "",
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s158627408 | p02409 | u119456964 | 1455006100 | Python | Python | py | Runtime Error | 0 | 0 | 341 | s = [[[0 for i in range(10)] for j in range(3)] for k in range(4)]
n = int(input())
for i in range(n):
b, f, r, v = map(int, raw_input().split())
s[b-1][f-1][r-1] += v
for b in range(4):
for f in range(3):
print(" " + " ".join(map(str, s[b][f])))
if b != 3:
... | File "/tmp/tmpvfwek2sq/tmpalmqq_4x.py", line 2
n = int(input())
IndentationError: unexpected indent
| |
s535731866 | p02409 | u630265299 | 1455027761 | Python | Python | py | Runtime Error | 0 | 0 | 438 | data =[[[0 for r in range(10)] for f in range(3)] for b in range(4)]
ans = ""
n = input()
for i in range(0, n):
b, f, r, v = map(int, raw_input().split(" "))
data[b-1][f-1][r-1] += v
for b in range(4):
for f in range(3):
for r in range(10):
ans += " " + str(a[b][f][r])
... | File "/tmp/tmpkos9uj9u/tmprhq2d54j.py", line 17
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s983370521 | p02409 | u630265299 | 1455027773 | Python | Python | py | Runtime Error | 0 | 0 | 439 | data =[[[0 for r in range(10)] for f in range(3)] for b in range(4)]
ans = ""
n = input()
for i in range(0, n):
b, f, r, v = map(int, raw_input().split(" "))
data[b-1][f-1][r-1] += v
for b in range(4):
for f in range(3):
for r in range(10):
ans += " " + str(a[b][f][r])
... | Traceback (most recent call last):
File "/tmp/tmp8uewlec6/tmp_j704qzw.py", line 3, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s878019535 | p02409 | u653239976 | 1457622385 | Python | Python | py | Runtime Error | 0 | 0 | 2443 | #coding: UTF-8
n = input()
a = 0
aa = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ab = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ac = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ba = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
bb = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
bc = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ca = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
cb = [0, 0, 0, 0, 0, 0, 0, 0, 0, ... | File "/tmp/tmphiizm791/tmpjd0hsk5y.py", line 74
print " " + str(aa[0]),
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s703463083 | p02409 | u653239976 | 1457622575 | Python | Python | py | Runtime Error | 0 | 0 | 2443 | #coding: UTF-8
n = input()
a = 0
aa = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ab = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ac = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ba = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
bb = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
bc = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ca = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
cb = [0, 0, 0, 0, 0, 0, 0, 0, 0, ... | File "/tmp/tmptvzwx00b/tmpy2xe9ksd.py", line 74
print " " + str(aa[0]),
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s825108386 | p02409 | u653239976 | 1457622698 | Python | Python | py | Runtime Error | 0 | 0 | 2443 | #coding: UTF-8
n = input()
a = 0
aa = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ab = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ac = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ba = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
bb = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
bc = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
ca = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
cb = [0, 0, 0, 0, 0, 0, 0, 0, 0, ... | File "/tmp/tmpa99f1r4p/tmptu_2urni.py", line 74
print " " + str(aa[0]),
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s388554419 | p02409 | u894381890 | 1460687077 | Python | Python3 | py | Runtime Error | 0 | 0 | 952 | def inkousha(w_list, x, y, z):
w_list[x-1][y-1] += z
def answerp(w_list):
for i in range(3):
for j in range(10):
print w_list[i][j],
print("")
n = input()
A1 = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]
A2 = [[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0... | File "/tmp/tmppi_ofefa/tmpgy2s5qap.py", line 7
print w_list[i][j],
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s508884768 | p02409 | u670498238 | 1463102280 | Python | Python | py | Runtime Error | 0 | 0 | 361 | data = [[[0 for r in range(10)] for f in range(3)] for b in range(4)]
n = int(input())
for _ in range(n):
(b,f,r,v) = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for b in range(4):
for f in range(3):
for r in range(10):
print('',data[b][f][r], end='')
prin... | Traceback (most recent call last):
File "/tmp/tmp0uey7084/tmpl7szjb2i.py", line 3, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s153217493 | p02409 | u762833208 | 1463642812 | Python | Python | py | Runtime Error | 0 | 0 | 299 | n = int(input())
k = [[[0 for x in range(10)] for x in range(3)] for x in range(4)]
for i in range(n):
b,f,r,v = map(int(raw_input().split())
k[b-1][f-1][r-1] += v
for b in range(4):
for f in range(3):
print(" " + " ".join(map(str, k[b][f])))
if b != 3:
print("#"*20) | File "/tmp/tmp8j86fqu9/tmpfd66o1g7.py", line 4
b,f,r,v = map(int(raw_input().split())
^
SyntaxError: '(' was never closed
| |
s512767218 | p02409 | u617990214 | 1465101342 | Python | Python | py | Runtime Error | 0 | 0 | 1581 | import numpy as np
#def area--------------------------#
#ryouno syokiti
class ryou:
def flinit(self):
room=list()
for i in range(10):
room+=[0]
return room
#def kaijo([a_1,a_2,a_3,a_4,a_5,a_6,a_7,a_8,a_9,a_10]):
#def kaijo(x):
# y=[]
# for i in x:
# y=y+ " "+x[i]
# return y
def kaijo(x):
print "",
fo... | File "/tmp/tmpokj7vkv7/tmp4fq5sljm.py", line 21
print "",
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s451122680 | p02409 | u661284763 | 1469687488 | Python | Python3 | py | Runtime Error | 0 | 0 | 233 | data = [
[[0 for r in range(10)]for f in range(3)] for b in range(4)
]
for b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
print()
if bi < 3:
print('#'* 20) | File "/tmp/tmpl84mks1j/tmpknb9tyq9.py", line 13
print('#'* 20)
^
IndentationError: expected an indented block after 'if' statement on line 12
| |
s128423863 | p02409 | u661284763 | 1469687667 | Python | Python3 | py | Runtime Error | 0 | 0 | 311 | data = [
[[0 for r in range(10)]for f in range(3)] for b in range(4)
]
# ??\??????????????????????????§????????????????????????????????????
for b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
print()
if bi < 3:
??????print('#'* 20) | File "/tmp/tmp9r3lwp0y/tmp83i9i4kk.py", line 16
??????print('#'* 20)
^
IndentationError: expected an indented block after 'if' statement on line 15
| |
s464013966 | p02409 | u498041957 | 1469688577 | Python | Python3 | py | Runtime Error | 0 | 0 | 521 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
#??\?????????????????????????????§????????????????????????????????????
n = int(input())
for _ in range(n):
(b, f, r, v) = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for b in range(4):
for f in range(3):
... | File "/tmp/tmprf62efdb/tmpl03l0hh4.py", line 15
for bi, b in enumerate(data):
IndentationError: expected an indented block after 'for' statement on line 13
| |
s797415480 | p02409 | u085472528 | 1469688654 | Python | Python3 | py | Runtime Error | 0 | 0 | 363 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
b, f, r, v = [int(i) for i in input().split()]
data[b-1][f-1][r-1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
... | File "/tmp/tmp4hdx857p/tmp36qw9d1y.py", line 18
print(
^
SyntaxError: '(' was never closed
| |
s973940541 | p02409 | u085472528 | 1469688720 | Python | Python3 | py | Runtime Error | 0 | 0 | 349 | data = [
[[0 for r in range(10)] for f in range(3)] for
]
count = int(input())
for c in range(count):
b, f, r, v = [int(i) for i in input().split()]
data[b-1][f-1][r-1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
print()
... | File "/tmp/tmp_hsgmdpk/tmplrdzdoku.py", line 3
]
^
SyntaxError: invalid syntax
| |
s161419564 | p02409 | u661284763 | 1469688782 | Python | Python3 | py | Runtime Error | 0 | 0 | 433 | data = [
[[0 for r in range(10)]for f in range(3)] for b in range(4)
]
# ??\??????????????????????????§????????????????????????????????????
count = int(input())
for c in range(count):
b, f, r, v = [int(i) for i in input().split()]
data[b-1[f-1][r-1] += v
for b in enumerate(data):
for f in b:
f... | File "/tmp/tmpdou1xezo/tmpt1ymp51f.py", line 9
data[b-1[f-1][r-1] += v
^^
SyntaxError: invalid syntax
| |
s326069811 | p02409 | u671553883 | 1469688906 | Python | Python3 | py | Runtime Error | 0 | 0 | 456 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
coutnt = int(input(1))
for c in range(count):
c, f, r, v = [int(1) for i in input().split]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
f... | Traceback (most recent call last):
File "/tmp/tmptinajopq/tmpfn6o5z3g.py", line 6, in <module>
coutnt = int(input(1))
^^^^^^^^
EOFError: EOF when reading a line
| 1 |
s119387195 | p02409 | u671553883 | 1469688916 | Python | Python3 | py | Runtime Error | 0 | 0 | 455 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input(1))
for c in range(count):
c, f, r, v = [int(1) for i in input().split]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
fo... | Traceback (most recent call last):
File "/tmp/tmpakffc083/tmpq_thrkeq.py", line 6, in <module>
count = int(input(1))
^^^^^^^^
EOFError: EOF when reading a line
| 1 |
s248635055 | p02409 | u661284763 | 1469688933 | Python | Python3 | py | Runtime Error | 0 | 0 | 364 | data = [
[[0 for r in range(10)]for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
b, f, r, v = [int(i) for i in input().split()]
data[b-1[f-1][r-1] += v
for b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
prin... | File "/tmp/tmphz7vmc_p/tmpgdydfuxg.py", line 9
data[b-1[f-1][r-1] += v
^^
SyntaxError: invalid syntax
| |
s565673571 | p02409 | u671553883 | 1469688935 | Python | Python3 | py | Runtime Error | 0 | 0 | 454 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input())
for c in range(count):
c, f, r, v = [int(1) for i in input().split]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for... | Traceback (most recent call last):
File "/tmp/tmp3b34gjyr/tmpk64e9g65.py", line 6, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s956836588 | p02409 | u671553883 | 1469688961 | Python | Python3 | py | Runtime Error | 0 | 0 | 382 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
count = int(input(1))
for c in range(count):
c, f, r, v = [int(1) for i in input().split]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end=''... | Traceback (most recent call last):
File "/tmp/tmp_lomge5q/tmp_dklcvr_.py", line 5, in <module>
count = int(input(1))
^^^^^^^^
EOFError: EOF when reading a line
| 1 |
s987116388 | p02409 | u671553883 | 1469689029 | Python | Python3 | py | Runtime Error | 0 | 0 | 381 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
c, f, r, v = [int(i) for i in input().split]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')... | Traceback (most recent call last):
File "/tmp/tmpyanvh3ai/tmppyjejger.py", line 5, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s291099181 | p02409 | u671553883 | 1469689085 | Python | Python3 | py | Runtime Error | 0 | 0 | 383 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
c, f, r, v = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='... | Traceback (most recent call last):
File "/tmp/tmppkk00d44/tmpcm09knwu.py", line 5, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s689492950 | p02409 | u671553883 | 1469689105 | Python | Python3 | py | Runtime Error | 0 | 0 | 343 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
c, f, r, v = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='... | Traceback (most recent call last):
File "/tmp/tmp150tditj/tmpj0ou3xty.py", line 5, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s542178931 | p02409 | u671553883 | 1469689131 | Python | Python3 | py | Runtime Error | 0 | 0 | 355 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
c, f, r, v = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='... | Traceback (most recent call last):
File "/tmp/tmpursoqbow/tmp4mete9dw.py", line 5, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s627026629 | p02409 | u671553883 | 1469689259 | Python | Python3 | py | Runtime Error | 0 | 0 | 447 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input(1))
for c in range(count):
c, f, r, v = [int(1) for i in input().split]
data[c - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f ... | Traceback (most recent call last):
File "/tmp/tmpfg2zbng0/tmpocr04rjy.py", line 6, in <module>
count = int(input(1))
^^^^^^^^
EOFError: EOF when reading a line
| 1 |
s632812368 | p02409 | u671553883 | 1469689273 | Python | Python3 | py | Runtime Error | 0 | 0 | 447 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input(1))
for c in range(count):
c, f, r, v = [int(1) for i in input().split]
data[v - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f ... | Traceback (most recent call last):
File "/tmp/tmpyrg9mw1w/tmph4fb2vb3.py", line 6, in <module>
count = int(input(1))
^^^^^^^^
EOFError: EOF when reading a line
| 1 |
s277415684 | p02409 | u671553883 | 1469689282 | Python | Python3 | py | Runtime Error | 0 | 0 | 447 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input(1))
for c in range(count):
c, f, r, v = [int(1) for i in input().split]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f ... | Traceback (most recent call last):
File "/tmp/tmpx6c0twvd/tmpeqcjlwue.py", line 6, in <module>
count = int(input(1))
^^^^^^^^
EOFError: EOF when reading a line
| 1 |
s637005229 | p02409 | u671553883 | 1469689299 | Python | Python3 | py | Runtime Error | 0 | 0 | 446 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input())
for c in range(count):
c, f, r, v = [int(i) for i in input().split]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f i... | Traceback (most recent call last):
File "/tmp/tmpooffx1ly/tmpe3s5oa94.py", line 6, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s286498056 | p02409 | u671553883 | 1469689322 | Python | Python3 | py | Runtime Error | 0 | 0 | 446 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input())
for c in range(count):
c, f, r, v = [int(i) for i in input().split]
data[c - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f i... | Traceback (most recent call last):
File "/tmp/tmpkc3gf6q6/tmpk0zcp25k.py", line 6, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s445802340 | p02409 | u671553883 | 1469689337 | Python | Python3 | py | Runtime Error | 0 | 0 | 447 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input())
for c in range(count):
c, f, r, v = [int(i) for i in input().split]
data[bi - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f ... | Traceback (most recent call last):
File "/tmp/tmp0xqmb7ae/tmpyd4s9k_x.py", line 6, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s077733862 | p02409 | u671553883 | 1469689355 | Python | Python3 | py | Runtime Error | 0 | 0 | 448 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
# ??\?????????????????????????????§????????????????????????????????????
count = int(input())
for c in range(count):
c, f, r, v = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f... | Traceback (most recent call last):
File "/tmp/tmp0e869bud/tmp0r9_ocec.py", line 6, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s271201308 | p02409 | u671553883 | 1469690118 | Python | Python3 | py | Runtime Error | 0 | 0 | 385 | data = [
[[0 for r in range(10) for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
b,f,r,v = [int(i) for i in input().split()]
data[b-1] [f-1] [r-1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
... | File "/tmp/tmpxwxf7prw/tmpo0k4sgql.py", line 1
data = [
^
SyntaxError: '[' was never closed
| |
s131345021 | p02409 | u671553883 | 1469690139 | Python | Python3 | py | Runtime Error | 0 | 0 | 386 | data = [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
b,f,r,v = [int(i) for i in input().split()]
data[b-1] [f-1] [r-1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
... | File "/tmp/tmpb4680d0m/tmpdro78sn2.py", line 15
print()
^
IndentationError: unindent does not match any outer indentation level
| |
s057294927 | p02409 | u600195957 | 1469690723 | Python | Python3 | py | Runtime Error | 0 | 0 | 349 | data = [
[[0 for r in range(10)] for f in range(3) ] for b in range(4)
]
count = int(input())
for c in range(count):
b, f, r, v = [int(i) i in input().split()]
data[b-1] [f-1] [r-1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
print()
if... | File "/tmp/tmpfxdzu8jo/tmp7bysfbuj.py", line 8
b, f, r, v = [int(i) i in input().split()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s134072822 | p02409 | u600195957 | 1469690819 | Python | Python3 | py | Runtime Error | 0 | 0 | 374 | data = [
[[0 for r in range(10)] for f in range(3) ] for b in range(4)
]
count = int(input())
for c in range(count):
b, f, r, v = [int(i) i in input().split()]
data[b-1] [f-1] [r-1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
... | File "/tmp/tmp43ssl2e2/tmportah2fy.py", line 8
b, f, r, v = [int(i) i in input().split()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s281209614 | p02409 | u600195957 | 1469690924 | Python | Python3 | py | Runtime Error | 0 | 0 | 372 | data = [
[[0 for r in range(10)] for f in range(3) ] for b in range(4)
]
count = int(input())
for c in range(count):
b, f, r, v = [int(i) i in input().split()]
data[b-1] [f-1] [r-1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')
... | File "/tmp/tmpgpmlqqzx/tmpo4bhdk4c.py", line 8
b, f, r, v = [int(i) i in input().split()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s469649756 | p02409 | u587193722 | 1469758580 | Python | Python3 | py | Runtime Error | 0 | 0 | 376 | date= [
[[0 for r in range(10)] for f in range(3)] for b in range(4)
]
count = int(input())
for c in range(count):
b, f, r, v = [int(i) for i in input().split()]
data[b - 1][f - 1][r - 1] += v
for bi, b in enumerate(data):
for f in b:
for r in f:
print(' {0}'.format(r), end='')... | Traceback (most recent call last):
File "/tmp/tmpsazp9geo/tmpw6k1l69l.py", line 5, in <module>
count = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s939198684 | p02409 | u216425054 | 1470730935 | Python | Python3 | py | Runtime Error | 0 | 0 | 251 | while True:
[a,b,c]=[x for x in input().split()]
a,b=int(a),int(b)
if a==0 and b==0:
break
elif op=="+":
print(a+b)
elif op=="-":
print(a-b)
elif op=="*":
print(a*b)
else:
print(a//b) | Traceback (most recent call last):
File "/tmp/tmpxpek4mf_/tmpb6c7ilvu.py", line 2, in <module>
[a,b,c]=[x for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s062153019 | p02409 | u358919705 | 1471636826 | Python | Python3 | py | Runtime Error | 0 | 0 | 381 | n = int(input())
data = [list(map(int, input().split())) for _ in range(n)]
nums = [[[0 for i in range(10)] for i in range(3)] for i in range(4)]
for d in data:
nums[d[0] - 1][d[1] - 1][d[2] - 1] += d[3]
for i in range(4):
for j in range(3):
for k in range(10):
print(' ' + nums[i][j][k], end... | Traceback (most recent call last):
File "/tmp/tmpurfq2lo9/tmpwkbuieyl.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s558778655 | p02409 | u801346721 | 1476796492 | Python | Python3 | py | Runtime Error | 0 | 0 | 319 | F = [[[0] * 10 for i in range(3)] for i in range(4)]
n = int(input())
for i in range(n):
b, f, r, v = map(int, input().split())
F[b+1][f+1][r+1] += v
for x in range(0, 4):
for y in range(0, 3):
for z in range(0, 9):
print(" {0} ".format(F[x][y][z]), end = '')
print(F[x][y][z+1])
if x != 3:
print("#" * 20) | Traceback (most recent call last):
File "/tmp/tmpgc9cf_pr/tmpo00efu37.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s962601968 | p02409 | u494314211 | 1481414217 | Python | Python3 | py | Runtime Error | 0 | 0 | 255 | l=[[[0 for i in range(10)] for i in range(3)] for i in range(4)]
n=int(input())
for i in range(n):
a,b,c,d=list(map(int,input().split()))
l[a-1][b-1][c-1]=d
for i in l:
for j in i:
print(" ".join(j))
if not i==l[-1]:
print("####################") | Traceback (most recent call last):
File "/tmp/tmp0h_pvsxv/tmpm9dw1f_4.py", line 2, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s880841683 | p02409 | u494314211 | 1481414443 | Python | Python3 | py | Runtime Error | 0 | 0 | 271 | l=[[["0" for i in range(10)] for i in range(3)] for i in range(4)]
n=int(input())
for i in range(n):
a,b,c,d=list(map(int,input().split()))
l[a-1][b-1][c-1]=str(d)zzzzzzzzzz
for i in l:
for j in i:
print(" ".join(j))
if not i==l[-1]:
print("####################") | File "/tmp/tmprk464bfx/tmp9axvk0_6.py", line 5
l[a-1][b-1][c-1]=str(d)zzzzzzzzzz
^^^^^^^^^^
SyntaxError: invalid syntax
| |
s854365190 | p02409 | u144068724 | 1486224287 | Python | Python3 | py | Runtime Error | 0 | 0 | 429 | n = int(input())
house = []
for i in range(4):
house.append([])
for j in range(3):
house[i].append([])
for k in range(10):
house[i][j].append(0)
for i in range(n):
b,f,r,v = map(int,input().split())
house[b][f][r] += v
for i in range(4):
for j in range(3):
for ... | Traceback (most recent call last):
File "/tmp/tmpal7tysfy/tmpn1quwcul.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s455481682 | p02409 | u144068724 | 1486224928 | Python | Python3 | py | Runtime Error | 0 | 0 | 436 | n = int(input())
house = []
for i in range(4):
house.append([])
for j in range(3):
house[i].append([])
for k in range(10):
house[i][j].append(0)
for i in range(n):
b,f,r,v = map(int,input().split())
house[b][f][r] += v
for i in range(4):
for j in range(3):
for ... | Traceback (most recent call last):
File "/tmp/tmprm6xibw2/tmpu9yv67fo.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s781140101 | p02409 | u144068724 | 1486224950 | Python | Python3 | py | Runtime Error | 0 | 0 | 436 | n = int(input())
house = []
for i in range(4):
house.append([])
for j in range(3):
house[i].append([])
for k in range(10):
house[i][j].append(0)
for i in range(n):
b,f,r,v = map(int,input().split())
house[b][f][r] += v
for i in range(4):
for j in range(3):
for ... | Traceback (most recent call last):
File "/tmp/tmpel2y1fbs/tmpdutgsggw.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s593342600 | p02409 | u144068724 | 1486224988 | Python | Python3 | py | Runtime Error | 0 | 0 | 436 | n = int(input())
house = []
for i in range(4):
house.append([])
for j in range(3):
house[i].append([])
for k in range(10):
house[i][j].append(0)
for i in range(n):
b,f,r,v = map(int,input().split())
house[b][f][r] += v
for i in range(4):
for j in range(3):
for ... | Traceback (most recent call last):
File "/tmp/tmpugdh1pew/tmpy9jght50.py", line 1, in <module>
n = int(input())
^^^^^^^
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.