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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s457851363 | p02414 | u204883389 | 1470203741 | Python | Python3 | py | Runtime Error | 0 | 0 | 355 | n, m, l = [int(i) for i in input().split()]
A = [input(range(n))]
B = [input(range(m))]
C = [[0] * 1 for n in range(n)]
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
C[n][m] = sum([A[n][l] * B[l][m] for l in range(l)])
p... | Traceback (most recent call last):
File "/tmp/tmp361ywhap/tmp1wz9uero.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s228371613 | p02414 | u204883389 | 1470203811 | Python | Python3 | py | Runtime Error | 0 | 0 | 351 | n, m, l = [int(i) for i in input().split()]
A = [input(range(n))]
B = [input(range(m))]
C = [[0] * 1 for n in range(n)]
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
C[n][m] = sum([A[n][l] * B[l][m] for l in range(m)])
print... | Traceback (most recent call last):
File "/tmp/tmpo2e5p22w/tmpidcgc967.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s718284031 | p02414 | u204883389 | 1470204433 | Python | Python3 | py | Runtime Error | 0 | 0 | 333 | n, m, l = [int(i) for i in input().split()]
A = [input(range(n))]
B = [input(range(m))]
C = [[0] * 1 for n in range(n)]
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
C[n][m] = sum([A[n][l] * B[l][m]])
print(" ".join([str(v) ... | Traceback (most recent call last):
File "/tmp/tmpoxybxicy/tmpiqp2b108.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s434697001 | p02414 | u204883389 | 1470205336 | Python | Python3 | py | Runtime Error | 0 | 0 | 333 | n, m, l = [int(i) for i in input().split()]
A = [input(range(n))]
B = [input(range(m))]
C = [[0] * 1 for n in range(n)]
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
C[A][B] = sum([A[n][l] * B[l][m]])
print(" ".join([str(v) ... | Traceback (most recent call last):
File "/tmp/tmp8b1f3a31/tmpgsr05bnj.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s860731359 | p02414 | u661284763 | 1470205820 | Python | Python3 | py | Runtime Error | 0 | 0 | 389 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
c.append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmp9_q8zavo/tmp7m8qzt4r.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s904676931 | p02414 | u131984977 | 1470205905 | Python | Python3 | py | Runtime Error | 0 | 0 | 402 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpv6tyd9fp/tmpktqsyz91.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s985482257 | p02414 | u628732336 | 1470205964 | Python | Python3 | py | Runtime Error | 0 | 0 | 445 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([int(i) for i in input().split()])
for j in range(l):
C[i].append(0)
... | Traceback (most recent call last):
File "/tmp/tmpqnhaooe8/tmpuk6jcyod.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s392641421 | p02414 | u131984977 | 1470205993 | Python | Python3 | py | Runtime Error | 30 | 7680 | 420 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpll6pd9pe/tmpyn_5k6eu.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s510754563 | p02414 | u204883389 | 1470206063 | Python | Python3 | py | Runtime Error | 20 | 7660 | 421 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpn78w07mq/tmpzvtpa0ik.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s410539545 | p02414 | u747009765 | 1470206093 | Python | Python3 | py | Runtime Error | 30 | 7672 | 421 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmphatptc8x/tmp5asfza4e.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s577090912 | p02414 | u644636020 | 1470206093 | Python | Python3 | py | Runtime Error | 30 | 7688 | 424 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmp5_tcrlk9/tmpyqhe424c.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s939192041 | p02414 | u628732336 | 1470206155 | Python | Python3 | py | Runtime Error | 0 | 0 | 468 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([int(i) for i in input().split()])
for j in range(l):
C[i].append(0)
... | Traceback (most recent call last):
File "/tmp/tmprqj5f1da/tmpw7pj1dws.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s560370015 | p02414 | u085472528 | 1470206175 | Python | Python3 | py | Runtime Error | 30 | 7660 | 420 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmp4dq1bb0t/tmpba6cfovi.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s514064493 | p02414 | u747009765 | 1470206178 | Python | Python3 | py | Runtime Error | 30 | 7656 | 421 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpk0_7ciuj/tmpysm4logq.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s171532823 | p02414 | u204883389 | 1470206213 | Python | Python3 | py | Runtime Error | 20 | 7660 | 420 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmp23derjmp/tmp4b4_r82g.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s609103139 | p02414 | u628732336 | 1470206280 | Python | Python3 | py | Runtime Error | 0 | 0 | 451 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([int(i) for i in input().split()])
for j in range(l):
C[i].append(0)
... | Traceback (most recent call last):
File "/tmp/tmp_3hfrtom/tmpgy_8eanp.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s850803176 | p02414 | u661284763 | 1470206306 | Python | Python3 | py | Runtime Error | 0 | 0 | 418 |
n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
c.append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpn3gaqx1_/tmp2e74dj49.py", line 2, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s009629956 | p02414 | u661284763 | 1470206344 | Python | Python3 | py | Runtime Error | 0 | 0 | 418 |
n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
c.append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpth0zp9sk/tmp_a9qihuo.py", line 2, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s065135601 | p02414 | u628732336 | 1470206354 | Python | Python3 | py | Runtime Error | 20 | 7760 | 420 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmp_np0if8a/tmpj7ebx560.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s520041398 | p02414 | u587193722 | 1470206436 | Python | Python3 | py | Runtime Error | 20 | 7744 | 419 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpueqwpg5e/tmp8kbg4ft0.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s376101014 | p02414 | u264632995 | 1470206510 | Python | Python3 | py | Runtime Error | 0 | 0 | 423 | n , m ,l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for mi in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmp8j6_asjx/tmpdrxkevgu.py", line 1, in <module>
n , m ,l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s674728126 | p02414 | u600195957 | 1470206521 | Python | Python3 | py | Runtime Error | 0 | 0 | 415 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([]) for j in range(l):
C.append(0)
for k in range(m):
... | File "/tmp/tmph1_vcv05/tmpiyd4ahmv.py", line 14
C.append([]) for j in range(l):
^^^
SyntaxError: invalid syntax
| |
s157886594 | p02414 | u264632995 | 1470206529 | Python | Python3 | py | Runtime Error | 0 | 0 | 423 | n , m ,l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for mi in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpgo55qcmc/tmplflm35po.py", line 1, in <module>
n , m ,l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s394105382 | p02414 | u382316013 | 1470206548 | Python | Python3 | py | Runtime Error | 0 | 0 | 404 | n, m, l, = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
for j in range(l):
C[i].append(0)
for k in range(m):
C[i][j] +=... | Traceback (most recent call last):
File "/tmp/tmpy9kcsmsm/tmp5zt3ttiu.py", line 1, in <module>
n, m, l, = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s968122797 | p02414 | u600195957 | 1470206580 | Python | Python3 | py | Runtime Error | 0 | 0 | 420 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C.append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmp15p2ffin/tmp5vmyczlc.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s576601885 | p02414 | u600195957 | 1470206609 | Python | Python3 | py | Runtime Error | 0 | 0 | 418 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | File "/tmp/tmpuuh39rgq/tmpj69_7fik.py", line 20
print(" ".join([str(s) for s in C[ni]))
^
SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
| |
s848738317 | p02414 | u600195957 | 1470206685 | Python | Python3 | py | Runtime Error | 20 | 7752 | 419 | n, m, l = [int(i) for i in input().split()]
A = []
B = []
C = []
for ni in range(n):
A.append([int(i) for i in input().split()])
for mi in range(m):
B.append([int(i) for i in input().split()])
for i in range(n):
C.append([])
for j in range(l):
C[i].append(0)
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpyndhq_u5/tmp4lf975gc.py", line 1, in <module>
n, m, l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s045374654 | p02414 | u391228754 | 1475469207 | Python | Python3 | py | Runtime Error | 20 | 7724 | 366 | n, m ,l = map(int, input().split())
a = [list(map(int, input().split())) for i in range(n)]
b = [list(map(int, input().split())) for j in range(m)]
c = [[0 for i in range(n)] for k in range(l)]
for i in range(n):
for k in range(l):
for j in range(m):
c[i][k] += a[i][j] * b[j][k]
for i in range... | Traceback (most recent call last):
File "/tmp/tmpbxcv_igc/tmposd_dz3g.py", line 1, in <module>
n, m ,l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s760024866 | p02414 | u801346721 | 1477057083 | Python | Python3 | py | Runtime Error | 0 | 0 | 474 | n, m, l = map(int, input().split())
A = []
B = []
C = [[0] * l for i in range(n)]
for x in range(n):
for y in range(m):
A[x].append(list(map(int, input().split())))
for x in range(m):
for y in range(l):
B[x].append(list(map(int, input().split())))
for x in range(n):
for y in range(l):
sum = 0
for z in rang... | File "/tmp/tmpk0zm99ry/tmppcv_hrpt.py", line 22
print("{0} ".format(C[x][y], end = '')
^
SyntaxError: '(' was never closed
| |
s467952692 | p02414 | u801346721 | 1477057209 | Python | Python3 | py | Runtime Error | 0 | 0 | 474 | n, m, l = map(int, input().split())
A = []
B = []
C = [[0] * l for i in range(n)]
for x in range(n):
for y in range(m):
A[x].append(list(map(int, input().split())))
for x in range(m):
for y in range(l):
B[x].append(list(map(int, input().split())))
for x in range(n):
for y in range(l):
sum = 0
for z in rang... | File "/tmp/tmpz9mryam_/tmphkifgmp9.py", line 22
print("{0} ".format(C[x][y], end = '')
^
SyntaxError: '(' was never closed
| |
s635209736 | p02414 | u801346721 | 1477057227 | Python | Python3 | py | Runtime Error | 0 | 0 | 475 | n, m, l = map(int, input().split())
A = []
B = []
C = [[0] * l for i in range(n)]
for x in range(n):
for y in range(m):
A[x].append(list(map(int, input().split())))
for x in range(m):
for y in range(l):
B[x].append(list(map(int, input().split())))
for x in range(n):
for y in range(l):
sum = 0
for z in rang... | Traceback (most recent call last):
File "/tmp/tmp4qlb_1vy/tmptq4tzuuj.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s972411726 | p02414 | u801346721 | 1477057382 | Python | Python3 | py | Runtime Error | 0 | 0 | 433 | n, m, l = map(int, input().split())
A = []
B = []
C = [[0] * l for i in range(n)]
for x in range(n):
A[x].append(list(map(int, input().split())))
for x in range(m):
B[x].append(list(map(int, input().split())))
for x in range(n):
for y in range(l):
sum = 0
for z in range(m):
sum += A[x][z] * B[z][y]
C[x][y... | Traceback (most recent call last):
File "/tmp/tmpkr6ybd7i/tmp3npz8y88.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s002102408 | p02414 | u546285759 | 1480213292 | Python | Python3 | py | Runtime Error | 20 | 7676 | 356 | n, m, l = map(int, input().split())
A = [list(map(int, input().split())) for i in range(n)]
B = [list(map(int, input().split())) for i in range(m)]
C = [[0 for i in range(n)] for j in range(l)]
for i in range(n):
for j in range(l):
for k in range(m):
C[i][j] += A[i][k]*B[k][j]
for i in range(n):... | Traceback (most recent call last):
File "/tmp/tmpgk22n_5l/tmpxpb21_zm.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s876276909 | p02414 | u546285759 | 1480214370 | Python | Python3 | py | Runtime Error | 40 | 7640 | 356 | n, m, l = map(int, input().split())
A = [list(map(int, input().split())) for i in range(n)]
B = [list(map(int, input().split())) for i in range(m)]
C = [[0 for i in range(n)] for j in range(l)]
for i in range(n):
for j in range(l):
for k in range(m):
C[i][j] += A[i][k]*B[k][j]
for i in range(n):... | Traceback (most recent call last):
File "/tmp/tmpkqiaw89u/tmp5gaqpt1d.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s983156945 | p02414 | u494314211 | 1481452504 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n,m,l=list(map(int,input().split()))
A=[]
B=[]
for i in range(n):
A.append(list(map(int,input().split())))
for i in range(m):
B.append(list(map(int,input().split())))
import numpy as np
A=np.array(A)
B=np.array(B)
A=A.dot(B)
for i in A:
print(" ".join(list(map(str,i)))) | Traceback (most recent call last):
File "/tmp/tmpy9pufyv5/tmphva2w955.py", line 1, in <module>
n,m,l=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s656038468 | p02414 | u494314211 | 1481452521 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n,m,l=list(map(int,input().split()))
A=[]
B=[]
for i in range(n):
A.append(list(map(int,input().split())))
for i in range(m):
B.append(list(map(int,input().split())))
import numpy as np
A=np.array(A)
B=np.array(B)
A=A.dot(B)
for i in A:
print(" ".join(list(map(str,i)))) | Traceback (most recent call last):
File "/tmp/tmp5zeuf_7a/tmpp7h7kyja.py", line 1, in <module>
n,m,l=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s633369388 | p02414 | u494314211 | 1481452528 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n,m,l=list(map(int,input().split()))
A=[]
B=[]
for i in range(n):
A.append(list(map(int,input().split())))
for i in range(m):
B.append(list(map(int,input().split())))
import numpy as np
A=np.array(A)
B=np.array(B)
A=A.dot(B)
for i in A:
print(" ".join(list(map(str,i)))) | Traceback (most recent call last):
File "/tmp/tmpq5um8wfr/tmp2_vxbau3.py", line 1, in <module>
n,m,l=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s445350294 | p02414 | u494314211 | 1481456803 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n,m,l=list(map(int,input().split()))
A=[]
B=[]
for i in range(n):
A.append(list(map(int,input().split())))
for i in range(m):
B.append(list(map(int,input().split())))
import numpy as np
A=np.array(A)
B=np.array(B)
A=A.dot(B)
for i in A:
print(" ".join(list(map(str,i)))) | Traceback (most recent call last):
File "/tmp/tmp0x1k0_bj/tmpzjqeyua5.py", line 1, in <module>
n,m,l=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s959766535 | p02414 | u494314211 | 1481456831 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n,m,l=list(map(int,input().split()))
A=[]
B=[]
for i in range(n):
A.append(list(map(int,input().split())))
for i in range(m):
B.append(list(map(int,input().split())))
import numpy as np
A=np.array(A)
B=np.array(B)
A=A.dot(B)
for i in A:
print(" ".join(list(map(str,i)))) | Traceback (most recent call last):
File "/tmp/tmplm9x8vlc/tmp94fwn_5w.py", line 1, in <module>
n,m,l=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s358635081 | p02414 | u494314211 | 1481456834 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n,m,l=list(map(int,input().split()))
A=[]
B=[]
for i in range(n):
A.append(list(map(int,input().split())))
for i in range(m):
B.append(list(map(int,input().split())))
import numpy as np
A=np.array(A)
B=np.array(B)
A=A.dot(B)
for i in A:
print(" ".join(list(map(str,i)))) | Traceback (most recent call last):
File "/tmp/tmp1f4zkznc/tmpzglf9og6.py", line 1, in <module>
n,m,l=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s394014834 | p02414 | u494314211 | 1481456852 | Python | Python3 | py | Runtime Error | 0 | 0 | 274 | n,m,l=list(map(int,input().split()))
A=[]
B=[]
for i in range(n):
A.append(list(map(int,input().split())))
for i in range(m):
B.append(list(map(int,input().split())))
import numpy as np
A=np.array(A)
B=np.array(B)
A=A.dot(B)
for i in A:
print(" ".join(list(map(str,i)))) | Traceback (most recent call last):
File "/tmp/tmp3ifvply1/tmpgnv8cbxs.py", line 1, in <module>
n,m,l=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s675210177 | p02414 | u923668099 | 1483761798 | Python | Python3 | py | Runtime Error | 20 | 7636 | 481 |
n, m, l = map(int, input().split())
A = []
B = []
for i in range(n):
A.append([int(j) for j in input().split()])
for i in range(m):
B.append([int(j) for j in input().split()])
# ??????????????????????????????B?????¢??????????????¨???????????????
B_T = list(map(list, zip(*B)))
C = [[0 for i in range(n)] fo... | Traceback (most recent call last):
File "/tmp/tmpdpy9q4a8/tmpk3myccuc.py", line 2, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s043863069 | p02414 | u548155360 | 1487315209 | Python | Python3 | py | Runtime Error | 0 | 0 | 347 | n, m ,l = map(int, input().split())
A = [list(map(int,input().split())) for i in range(n)]
B = [list(map(int,input().split())) for j in range(m)]
C = [[0 for i in range(l)] for j in range(n)]
for i in range(l):
for j in range(n):
for k in range(m):
C[i][j] + = (A[i][k] * B[k][j])
Cp = [print(" ".join(map(str,... | File "/tmp/tmp52k14v7c/tmpxnyeg4ms.py", line 11
C[i][j] + = (A[i][k] * B[k][j])
^
SyntaxError: invalid syntax
| |
s051476821 | p02414 | u548155360 | 1487315235 | Python | Python3 | py | Runtime Error | 30 | 7760 | 350 | n, m ,l = map(int, input().split())
A = [list(map(int,input().split())) for i in range(n)]
B = [list(map(int,input().split())) for j in range(m)]
C = [[0 for i in range(l)] for j in range(n)]
for i in range(l):
for j in range(n):
for k in range(m):
C[i][j] += (A[i][k] * B[k][j])
Cp = [print(" ".join(map(str, ... | Traceback (most recent call last):
File "/tmp/tmp7o4fsg1l/tmp81rs711u.py", line 1, in <module>
n, m ,l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s806144429 | p02414 | u548155360 | 1487315310 | Python | Python3 | py | Runtime Error | 20 | 7628 | 350 | n, m ,l = map(int, input().split())
A = [list(map(int,input().split())) for i in range(n)]
B = [list(map(int,input().split())) for j in range(m)]
C = [[0 for i in range(l)] for j in range(n)]
for i in range(l):
for j in range(n):
for k in range(m):
C[i][j] += (A[i][k] * B[k][j])
Cp = [print(" ".join(map(str, ... | Traceback (most recent call last):
File "/tmp/tmpm79t1n05/tmptif5xzy6.py", line 1, in <module>
n, m ,l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s293827448 | p02414 | u307520683 | 1487745466 | Python | Python | py | Runtime Error | 0 | 0 | 688 | import sys
def input_number():
for i in range(n):
adding=map(int,raw_input().split())
A.append(adding)
for i in range(m):
adding=map(int,raw_input().split())
B.append(adding)
if __name__ == '__main__':
n,m,l=map(int,raw_input().split())
A=[]
B=[]
ans=[[0 for i ... | File "/tmp/tmp7kyhvt87/tmp257tyjkx.py", line 1
import sys
IndentationError: unexpected indent
| |
s893920858 | p02414 | u307520683 | 1487745513 | Python | Python | py | Runtime Error | 10 | 6376 | 687 | import sys
def input_number():
for i in range(n):
adding=map(int,raw_input().split())
A.append(adding)
for i in range(m):
adding=map(int,raw_input().split())
B.append(adding)
if __name__ == '__main__':
n,m,l=map(int,raw_input().split())
A=[]
B=[]
ans=[[0 for i i... | Traceback (most recent call last):
File "/tmp/tmpsgyp1im_/tmp62oc92tt.py", line 12, in <module>
n,m,l=map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s632833318 | p02414 | u301461168 | 1488015105 | Python | Python3 | py | Runtime Error | 0 | 0 | 349 | import numpy as np
n, m, l=map(int, input().split(" "))
A = np.matrix([ [ int(a) for a in input().split() ] for i in range(n) ])
B = np.matrix([ [ int(b) for b in input().split() ] for i in range(m) ])
C = A.dot(B)
for i in range(l):
out_C = ""
for j in range(n):
out_C = out_C + " " + str(C[i, j])
... | Traceback (most recent call last):
File "/tmp/tmp9oukd7w6/tmpye_o5y34.py", line 3, in <module>
n, m, l=map(int, input().split(" "))
^^^^^^^
EOFError: EOF when reading a line
| |
s361506470 | p02414 | u301461168 | 1488015597 | Python | Python3 | py | Runtime Error | 0 | 0 | 344 | from numpy import *
n, m, l=map(int, input().split(" "))
A = matrix([ [ int(a) for a in input().split() ] for i in range(n) ])
B = matrix([ [ int(b) for b in input().split() ] for i in range(m) ])
C = A.dot(B)
for i in range(l):
out_C = ""
for j in range(n):
out_C = out_C + " " + str(C[i, j])
... | Traceback (most recent call last):
File "/tmp/tmpofuba6db/tmpahz7rctl.py", line 3, in <module>
n, m, l=map(int, input().split(" "))
^^^^^^^
EOFError: EOF when reading a line
| |
s099110229 | p02414 | u042885182 | 1493529255 | Python | Python3 | py | Runtime Error | 0 | 0 | 759 | # coding: utf-8
# Here your code !
import numpy
def func():
try:
(n,m,l) = [ int(item) for item in input().rstrip().split(" ") ]
matrix_A = numpy.array([ [ int(item) for item in input().rstrip().split(" ") ] for i in range(n) ])
matrix_B = numpy.array([ [ int(item) for item in input().rs... | input Error
| |
s035102606 | p02414 | u042885182 | 1493529269 | Python | Python3 | py | Runtime Error | 0 | 0 | 759 | # coding: utf-8
# Here your code !
import numpy
def func():
try:
(n,m,l) = [ int(item) for item in input().rstrip().split(" ") ]
matrix_A = numpy.array([ [ int(item) for item in input().rstrip().split(" ") ] for i in range(n) ])
matrix_B = numpy.array([ [ int(item) for item in input().rs... | input Error
| |
s988408162 | p02414 | u042885182 | 1493529313 | Python | Python3 | py | Runtime Error | 0 | 0 | 759 | # coding: utf-8
# Here your code !
import numpy
def func():
try:
(n,m,l) = [ int(item) for item in input().rstrip().split(" ") ]
matrix_A = numpy.array([ [ int(item) for item in input().rstrip().split(" ") ] for i in range(n) ])
matrix_B = numpy.array([ [ int(item) for item in input().rs... | input Error
| |
s471412849 | p02414 | u623167544 | 1494360549 | Python | Python3 | py | Runtime Error | 20 | 7672 | 776 | def func(amat, bmat, nm):
ans = [[0 for i in range(nm[0])] for j in range(nm[2])]
for i in range(nm[0]):
for j in range(nm[1]):
for l in range(nm[2]):
ans[i][l] += amat[i][j] * bmat[j][l]
for i in ans:
print("{0} {1} {2}".format(i[0], i[1], i[2]))
if __name__ ==... | Traceback (most recent call last):
File "/tmp/tmp5ze3qa2b/tmpoqsrypxi.py", line 12, in <module>
nm = [int(i) for i in input().split(' ')]
^^^^^^^
EOFError: EOF when reading a line
| |
s587827351 | p02414 | u623167544 | 1494360942 | Python | Python3 | py | Runtime Error | 20 | 7660 | 759 | def func(amat, bmat, nm):
ans = [[0 for i in range(nm[0])] for j in range(nm[2])]
for i in range(nm[0]):
for j in range(nm[1]):
for l in range(nm[2]):
ans[i][l] += amat[i][j] * bmat[j][l]
for i in ans:
print(' '.join(map(str, i)))
if __name__ == '__main__':
... | Traceback (most recent call last):
File "/tmp/tmp8x2_ittb/tmp8ymat_ys.py", line 12, in <module>
nm = [int(i) for i in input().split(' ')]
^^^^^^^
EOFError: EOF when reading a line
| |
s795235342 | p02414 | u256678932 | 1495681716 | Python | Python3 | py | Runtime Error | 20 | 7692 | 401 | n, m, l = map(int, input().split(' '))
A = []
for i in range(n):
A.append(list(map(int, input().split(' '))))
B = []
for i in range(m):
B.append(list(map(int, input().split(' '))))
C = [[0 for i in range(n)] for j in range(l)]
for i in range(n):
for j in range(l):
for k in range(m):
C... | Traceback (most recent call last):
File "/tmp/tmp04yni8o4/tmpyzbia5gn.py", line 1, in <module>
n, m, l = map(int, input().split(' '))
^^^^^^^
EOFError: EOF when reading a line
| |
s520722370 | p02414 | u650790815 | 1496732280 | Python | Python3 | py | Runtime Error | 0 | 0 | 238 | n,m,l = map(int,input().split())
a = [list(map(int,input().split() for _ in range(n)]
b = [list(map(int,input().split() for _ in range(m)]
c = [[sum(ak*bk for ak,bk in zip(ai,bj)) for ai in a] for bj in zip(*b)]
for ci in c:
print(*c) | File "/tmp/tmpncvrmygg/tmpdyoc29qh.py", line 2
a = [list(map(int,input().split() for _ in range(n)]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s369702486 | p02414 | u650790815 | 1496732457 | Python | Python3 | py | Runtime Error | 0 | 0 | 241 | n,m,l = map(int,input().split())
a = [list(map(int,input().split())) for _ in range(n)]
b = [list(map(int,input().split())) for _ in range(m)]
c = [[sum(ak*bk for ak,bk in zip(ai,bj) for bj in zip(*b)] for ai in a]
for ci in c:
print(*c) | File "/tmp/tmpcj_4cn6m/tmpqxzq1pwj.py", line 4
c = [[sum(ak*bk for ak,bk in zip(ai,bj) for bj in zip(*b)] for ai in a]
^
SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
| |
s761117409 | p02414 | u821624310 | 1497423505 | Python | Python3 | py | Runtime Error | 30 | 7696 | 474 | n, m, l = map(int, input().split())
a = [[int(num) for num in input().split()] for i in range(n)]
b = [[int(num) for num in input().split()] for i in range(m)]
c = [[0 for i in range(n)] for j in range(l)]
for i in range(l):
for j in range(n):
for k in range(m):
c[i][j] += a[i][k] * b[k][j]
for... | Traceback (most recent call last):
File "/tmp/tmpgcty3pqh/tmpknr03dt_.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s255270363 | p02414 | u238667145 | 1497791279 | Python | Python3 | py | Runtime Error | 30 | 7640 | 320 | n, m, l = map(int, input().split())
A = []
B = []
for _ in range(n):
A.append(list(map(int, input().split())))
for _ in range(m):
B.append(list(map(int, input().split())))
C = [[sum([A[i][k] * B[k][j] for k in range(m)]) for j in range(n)] for i in range(l)]
for row in C:
print(' '.join(map(str, row))) | Traceback (most recent call last):
File "/tmp/tmpery2o8fx/tmp3o17vw38.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s260764251 | p02414 | u299798926 | 1499240626 | Python | Python3 | py | Runtime Error | 20 | 7796 | 622 | n,m,l=[int(i) for i in input().split()]
x=[[int(0) for i in range(m)]for j in range(n)]
z=[[int(0) for i in range(l)]for j in range(n)]
y=[[int(0)for i in range(n)]for j in range(m)]
for i in range(n):
k=input().split()
for j in range(m):
x[i][j]=int(k[j])
for i in range(m):
k=input().split()
f... | Traceback (most recent call last):
File "/tmp/tmpoj88v5qa/tmpnnktrnay.py", line 1, in <module>
n,m,l=[int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s564048526 | p02414 | u821624310 | 1502271856 | Python | Python3 | py | Runtime Error | 30 | 7696 | 451 | n, m, l = map(int, input().split())
A = [[int(n) for n in input().split()] for i in range(n)]
B = [[int(n) for n in input().split()] for i in range(m)]
C = [[0 for i in range(l)] for j in range(n)]
for i in range(l):
for j in range(n):
for k in range(m):
C[i][j] += A[i][k] * B[k][j]
for i in ran... | Traceback (most recent call last):
File "/tmp/tmpj5u78kus/tmph1_m7kx_.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s392784781 | p02414 | u821624310 | 1502312466 | Python | Python3 | py | Runtime Error | 20 | 7704 | 451 | n, m, l = map(int, input().split())
A = [[int(n) for n in input().split()] for i in range(n)]
B = [[int(n) for n in input().split()] for i in range(m)]
C = [[0 for i in range(l)] for i in range(n)]
for i in range(l):
for j in range(n):
for k in range(m):
C[i][j] += A[i][k] * B[k][j]
for i in ran... | Traceback (most recent call last):
File "/tmp/tmpfb1sm8qg/tmpzfxp7x1a.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s187524978 | p02414 | u853619096 | 1502932187 | Python | Python3 | py | Runtime Error | 0 | 0 | 221 | n,m,l=map(int,input().split())
for i in range(n):
a+=[list(map(int,input().split()))]
for i in range(m):
b+=[list(map(int,input().split()))]
c=[[a[i][k]*b[k][i] for i in range(n)] for k in range(l)]
print(c) | Traceback (most recent call last):
File "/tmp/tmp2xk3hszx/tmpcafbd9sa.py", line 1, in <module>
n,m,l=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s274537370 | p02414 | u957021183 | 1502952550 | Python | Python3 | py | Runtime Error | 20 | 7808 | 665 | # Aizu Problem ITP_1_7_D: Matrix Multiplication
#
import sys, math, os
# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
sys.stdin = open("sample-input.txt", "rt")
def matrixmult (A, B):
C = [[0 for row in range(len(A))] for col in range(len(B[0]))]
for i in range(len(A)):
for j in ... | Traceback (most recent call last):
File "/tmp/tmpvf7r56kf/tmp2irq7_qx.py", line 19, in <module>
n, m, l = [int(_) for _ in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s732263695 | p02414 | u597198969 | 1503899866 | Python | Python3 | py | Runtime Error | 0 | 0 | 365 | n,m,l = [int(i) for i in input().split()]
a = [int(i) for i in input().split()] for j in range(n)]
b = [int(i) for i in input().split()] for j in range(m)]
c = [[0 for i in range(n)] for j in range(l)]
for i in range(n):
for j in range(l):
for k in range(m):
c[i][j] += a[i][k] * b[k][j]
for i in... | File "/tmp/tmpz7gge2o3/tmp59b_iz27.py", line 2
a = [int(i) for i in input().split()] for j in range(n)]
^
SyntaxError: unmatched ']'
| |
s287575070 | p02414 | u597198969 | 1503903998 | Python | Python3 | py | Runtime Error | 20 | 7676 | 367 | n,m,l = [int(i) for i in input().split()]
a = [[int(i) for i in input().split()] for j in range(n)]
b = [[int(i) for i in input().split()] for j in range(m)]
c = [[0 for i in range(n)] for j in range(l)]
for i in range(n):
for j in range(l):
for k in range(m):
c[i][j] += a[i][k] * b[k][j]
for i ... | Traceback (most recent call last):
File "/tmp/tmp0_9nws74/tmp2ff83ggq.py", line 1, in <module>
n,m,l = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s345927522 | p02414 | u664228906 | 1506567863 | Python | Python3 | py | Runtime Error | 0 | 0 | 303 | l, m, n = map(int,input().split())
a = [[0 for i in range(m)]for j in range(l)]
b = [[0 for i in range(n)]for j in range(m)]
c = [[0 for i in range(n)]for j in range(l)]
for i in range(l):
for j in range(n):
for k in range(m):
c[i][j] += a[i][m] * b[m][j]
print(" ".join([str(x) for x in c[i]])) | Traceback (most recent call last):
File "/tmp/tmpwo5vpxsz/tmpdvjohysz.py", line 1, in <module>
l, m, n = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s848520057 | p02414 | u664228906 | 1506568001 | Python | Python3 | py | Runtime Error | 0 | 0 | 303 | l, m, n = map(int,input().split())
a = [[0 for i in range(l)]for j in range(m)]
b = [[0 for i in range(m)]for j in range(n)]
c = [[0 for i in range(l)]for j in range(n)]
for i in range(l):
for j in range(n):
for k in range(m):
c[i][j] += a[i][m] * b[m][j]
print(" ".join([str(x) for x in c[i]])) | Traceback (most recent call last):
File "/tmp/tmpqevk8lqd/tmpav_cxw0f.py", line 1, in <module>
l, m, n = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s801878336 | p02414 | u664228906 | 1506570400 | Python | Python3 | py | Runtime Error | 0 | 0 | 423 | l, m, n = map(int,input().split())
a = [[0 for i in range(m)]for j in range(l)]
b = [[0 for i in range(n)]for j in range(m)]
c = [[0 for i in range(n)]for j in range(l)]
for i in range(l):
a[i] = list(map(int, input().split()))
for i in range(m):
b[i] = list(map(int, input().split()))
for i in range(l):
for j in ... | Traceback (most recent call last):
File "/tmp/tmpujdbd6ki/tmp1a7k7lab.py", line 1, in <module>
l, m, n = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s176698203 | p02414 | u664228906 | 1506571372 | Python | Python3 | py | Runtime Error | 0 | 0 | 430 | l, m, n = map(int,input().split())
a = [[0 for i in range(m)] for j in range(l)]
b = [[0 for i in range(n)] for j in range(m)]
c = [[0 for i in range(n)] for j in range(l)]
for i in range(l):
a[i] = [int(x) for x in input().split()]
for i in range(m):
b[i] = [int(x) for x in input().split()]
for i in range(l):
fo... | Traceback (most recent call last):
File "/tmp/tmpzlow6lbb/tmpm_4ts0xy.py", line 1, in <module>
l, m, n = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s138126740 | p02414 | u664228906 | 1506571421 | Python | Python3 | py | Runtime Error | 0 | 0 | 430 | l, m, n = map(int,input().split())
a = [[0 for i in range(m)] for i in range(l)]
b = [[0 for i in range(n)] for i in range(m)]
c = [[0 for i in range(n)] for i in range(l)]
for i in range(l):
a[i] = [int(x) for x in input().split()]
for i in range(m):
b[i] = [int(x) for x in input().split()]
for i in range(l):
fo... | Traceback (most recent call last):
File "/tmp/tmpxzjd3wba/tmpx39xg8a5.py", line 1, in <module>
l, m, n = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s436989377 | p02414 | u664228906 | 1506573878 | Python | Python3 | py | Runtime Error | 0 | 0 | 432 | l, m, n = map(int,input().split())
a = [[0 for i in range(m)] for i in range(l)]
b = [[0 for i in range(n)] for i in range(m)]
c = [[0 for i in range(n)] for i in range(l)]
for i in range(l):
a[i] = [int(x) for x in input().split()]
for i in range(m):
b[i] = [int(x) for x in input().split()]
for i in range(l):
fo... | Traceback (most recent call last):
File "/tmp/tmpe8j95tlz/tmp6z9rh80q.py", line 1, in <module>
l, m, n = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s093015872 | p02414 | u197670577 | 1508239573 | Python | Python | py | Runtime Error | 10 | 6328 | 566 | # coding: utf-8
def main():
n, m, l = map(int, raw_input().split())
mat_A = [] # (n, m)
mat_B = [] # (m, l)
for i in range(n):
mat_A.append(map(int, raw_input().split()))
for j in range(m):
mat_B.append(map(int, raw_input().split()))
for i in range(n):
c = [0 for g in r... | File "/tmp/tmpzvm1c2jy/tmpop6av9i4.py", line 18
print " ".join(map(str, c))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s084355886 | p02414 | u197670577 | 1508239758 | Python | Python | py | Runtime Error | 10 | 6280 | 412 | # coding: utf-8
n, m, l = map(int, raw_input().split())
mat_A = [] # (n, m)
mat_B = [] # (m, l)
for i in range(n):
mat_A.append(map(int, raw_input().split()))
for j in range(m):
mat_B.append(map(int, raw_input().split()))
for i in range(n):
c = [0 for g in range(n)]
for j in range(l):
for ... | File "/tmp/tmpughkkssk/tmp9rw4sm66.py", line 17
print " ".join(map(str, c))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s951871546 | p02414 | u506705885 | 1514052102 | Python | Python3 | py | Runtime Error | 20 | 5600 | 475 | n,m,l=map(int,input().split())
matrix_a=[]
matrix_b=[]
matrix_c=[]
for i in range(n):
matrix_a.append(list(map(int,input().split())))
for i in range(m):
matrix_b.append(list(map(int,input().split())))
tmp_l=list()
for i in range(n):
for j in range(l):
tmp_n=0
for k in range(m):
t... | Traceback (most recent call last):
File "/tmp/tmpoz8j5cu4/tmpkd2zl6b2.py", line 1, in <module>
n,m,l=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s497806005 | p02414 | u177808190 | 1517078046 | Python | Python3 | py | Runtime Error | 0 | 0 | 413 | import numpy as np
x, y, z = map(int, input().split())
matrix1 = list()
matrix2 = list()
ans = list()
for i in range(x):
matrix1.append(list(map(int, input().split())))
for i in range(y):
matrix2.append(list(map(int, input().split())))
matrix1 = np.matrix(matrix1)
matrix2 = np.matrix(matrix2)
matrix3 = matrix1.... | Traceback (most recent call last):
File "/tmp/tmpm1s0xhml/tmprk0zk8mp.py", line 2, in <module>
x, y, z = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s511715139 | p02414 | u177808190 | 1517078075 | Python | Python3 | py | Runtime Error | 0 | 0 | 413 | import numpy as np
x, y, z = map(int, input().split())
matrix1 = list()
matrix2 = list()
ans = list()
for i in range(x):
matrix1.append(list(map(int, input().split())))
for i in range(y):
matrix2.append(list(map(int, input().split())))
matrix1 = np.matrix(matrix1)
matrix2 = np.matrix(matrix2)
matrix3 = matrix1.... | Traceback (most recent call last):
File "/tmp/tmpu9cnemoc/tmpi4ggwdk9.py", line 2, in <module>
x, y, z = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s644130924 | p02414 | u613534067 | 1520321093 | Python | Python3 | py | Runtime Error | 0 | 0 | 426 | n, m, l = map(int, input().split())
a = []
b = []
c = []
for i in range(n):
c.append([0 for k in range(l)])
for i in range(n):
a.append(list(map(int, input().split())))
for i in range(m):
b.append(list(map(int, input().split())))
for s in range(n):
for t in range(m):
elm = 0
for u in ran... | Traceback (most recent call last):
File "/tmp/tmpuiflj6o_/tmpux1joh5d.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s577707102 | p02414 | u613534067 | 1520321121 | Python | Python3 | py | Runtime Error | 0 | 0 | 426 | n, m, l = map(int, input().split())
a = []
b = []
c = []
for i in range(n):
c.append([0 for k in range(l)])
for i in range(n):
a.append(list(map(int, input().split())))
for i in range(m):
b.append(list(map(int, input().split())))
for s in range(n):
for t in range(m):
elm = 0
for u in ran... | Traceback (most recent call last):
File "/tmp/tmpdumz4az5/tmpaf1haesi.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s990488943 | p02414 | u444576298 | 1521450167 | Python | Python3 | py | Runtime Error | 20 | 5620 | 664 | #coding: utf-8
n, m, l = (int(i) for i in input().split())
nm = [[0 for i in range(m)] for j in range(n)]
ml = [[0 for i in range(l)] for j in range(m)]
nl = [[0 for i in range(l)] for j in range(n)]
for i in range(n):
nm[i] = input().split()
for i in range(n):
for j in range(m):
nm[i][j] = int(nm[i]... | Traceback (most recent call last):
File "/tmp/tmp_q_fpggb/tmpur4h1b5k.py", line 3, in <module>
n, m, l = (int(i) for i in input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s803090701 | p02414 | u505411588 | 1522057028 | Python | Python3 | py | Runtime Error | 20 | 5604 | 517 | n, m, l = map(int,input().split())
x = []
y = []
for i in range(n):
a = list(map(int,input().split()))
x.append(a)
for i in range(m):
b = list(map(int,input().split()))
y.append(b)
#print(x)
a = 0
b = []
ans = []
for i in range(3):
for j in range(3):
for k in range(2):
a... | Traceback (most recent call last):
File "/tmp/tmprl5dwjp8/tmpc04p31uv.py", line 1, in <module>
n, m, l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s980478801 | p02414 | u505411588 | 1522057327 | Python | Python3 | py | Runtime Error | 0 | 0 | 517 | n, m, l = map(int,input().split())
x = []
y = []
for i in range(n):
a = list(map(int,input().split()))
x.append(a)
for i in range(m):
b = list(map(int,input().split()))
y.append(b)
#print(x)
a = 0
b = []
ans = []
for i in range(n):
for j in range(m):
for k in range(l):
a... | Traceback (most recent call last):
File "/tmp/tmpspsotnz1/tmpqt72dad5.py", line 1, in <module>
n, m, l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s593089406 | p02414 | u886729200 | 1522834570 | Python | Python3 | py | Runtime Error | 20 | 5596 | 422 | n,m,l = map(int,input().split())
n_list=[]
m_list = []
c=[[0 for i in range(n)] for j in range(l)]
for i in range(n):
n_list.append([int(i) for i in input().split()])
for j in range(m):
m_list.append([int(i) for i in input().split()])
for i in range(n):
for j in range(l):
for k in range(m):
... | Traceback (most recent call last):
File "/tmp/tmpgiqlthj1/tmpbcst3acl.py", line 1, in <module>
n,m,l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s530238131 | p02414 | u017435045 | 1523498408 | Python | Python3 | py | Runtime Error | 0 | 0 | 372 | n, m, l = map(int, input().split())
a = []
b = []
for i in range(n):
a.append(list(map(int, input().split())))
for j in range(m):
b.append(list(map(int, input().split())))
c = [[0 for k in range(l)] for i in range(n)]
for i in range(n):
for k in range(l):
for j in range(m):
c[i][k] += a... | File "/tmp/tmp3w_e31ct/tmp9x981jt4.py", line 14
for i in range(n):
^
IndentationError: unindent does not match any outer indentation level
| |
s753103012 | p02414 | u017435045 | 1523498440 | Python | Python3 | py | Runtime Error | 0 | 0 | 377 | n, m, l = map(int, input().split())
a = []
b = []
for i in range(n):
a.append(list(map(int, input().split())))
for j in range(m):
b.append(list(map(int, input().split())))
c = [[0 for k in range(l)] for i in range(n)]
for i in range(n):
for k in range(l):
for j in range(m):
c[i][k] += i... | File "/tmp/tmpf4n_omdi/tmpibzwfe8r.py", line 14
for i in range(n):
^
IndentationError: unindent does not match any outer indentation level
| |
s940284465 | p02414 | u017435045 | 1523498445 | Python | Python3 | py | Runtime Error | 0 | 0 | 377 | n, m, l = map(int, input().split())
a = []
b = []
for i in range(n):
a.append(list(map(int, input().split())))
for j in range(m):
b.append(list(map(int, input().split())))
c = [[0 for k in range(l)] for i in range(n)]
for i in range(n):
for k in range(l):
for j in range(m):
c[i][k] += i... | File "/tmp/tmpxkmfcm3p/tmpznean6_3.py", line 14
for i in range(n):
^
IndentationError: unindent does not match any outer indentation level
| |
s966338965 | p02414 | u682153677 | 1523706646 | Python | Python3 | py | Runtime Error | 0 | 0 | 402 | # -*- coding: utf-8 -*-
n, m, l = list(map(int, input().split()))
a = []
b = []
for i in range(n):
a.append(list(map(int, input().split())))
for i in range(m):
b.append(list(map(int, input().split())))
for i in range(n):
for j in range(l):
mat_sum = 0
for k in range(m):
mat_s... | Traceback (most recent call last):
File "/tmp/tmp1umdzlsl/tmpoayu3jfx.py", line 3, in <module>
n, m, l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s593227175 | p02414 | u806005289 | 1525414596 | Python | Python3 | py | Runtime Error | 20 | 5616 | 776 | lis=input().split()
n=int(lis[0])
m=int(lis[1])
l=int(lis[2])
# for input A(n*m)
i=0
A=[]
while i<n:
p=0
a=input().split()
while p<m:
A.append(int(a[p]))
p+=1
i+=1
# for input B(m*l)
v=0
B=[]
while v<m:
q=0
b=input().split()
while q<l:
B.append(int(b[q]))
q+... | Traceback (most recent call last):
File "/tmp/tmps17khezm/tmpmomkgq8r.py", line 1, in <module>
lis=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s235227507 | p02414 | u806005289 | 1525415123 | Python | Python3 | py | Runtime Error | 20 | 5612 | 777 | lis=input().split()
n=int(lis[0])
m=int(lis[1])
l=int(lis[2])
# for input A(n*m)
i=0
A=[]
while i<n:
p=0
a=input().split()
while p<m:
A.append(int(a[p]))
p+=1
i+=1
# for input B(m*l)
v=0
B=[]
while v<m:
q=0
b=input().split()
while q<l:
B.append(int(b[q]))
q+... | Traceback (most recent call last):
File "/tmp/tmpow3ys5cz/tmpxss9jmca.py", line 1, in <module>
lis=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s041439447 | p02414 | u303842929 | 1527318539 | Python | Python3 | py | Runtime Error | 0 | 0 | 911 | #include <iostream>
#include <cstdlib>
#include <vector>
#include <algorithm>
#include <numeric>
using namespace std;
int main(){
int n, m, l;
vector< vector<long> > matlix1, matlix2, ans;
cin >> n >> m >> l;
for(int y = 0; y < n; y++){
vector<long> tmp;
for(int x = 0; x < m; x++){
long num;
cin >> num;
... | File "/tmp/tmp30jrv45e/tmpv2y0xqw3.py", line 6
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s356184657 | p02414 | u940150266 | 1527687963 | Python | Python3 | py | Runtime Error | 20 | 5600 | 362 | n, m, l = map(int,input().split())
a = [list(map(int, input().split()))for i in range(n)]
b = [list(map(int, input().split()))for j in range(m)]
num = [[0 for i in range(n)]for j in range(l)]
for k in range(n):
for i in range(l):
for j in range(m):
num[k][i] += a[k][j] * b[j][i]
for i in range(n... | Traceback (most recent call last):
File "/tmp/tmpm63rbnsx/tmphizcl0o1.py", line 1, in <module>
n, m, l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s381815500 | p02414 | u940150266 | 1527688255 | Python | Python3 | py | Runtime Error | 0 | 0 | 358 | n, m, l = map(int,input().split())
a = [list(map(int, input().split()))for i in range(n)]
b = [list(map(int, input().split()))for j in range(m)]
num = [[0 for i in range(l)]for j in range(n)]
for k in range(n):
for i in range(l):
for j in range(m):
num[k][i] += a[k][j] * b[j][i]
for i in range(n... | Traceback (most recent call last):
File "/tmp/tmp67kctf41/tmpi5qw0xow.py", line 1, in <module>
n, m, l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s160248892 | p02414 | u777277984 | 1527766288 | Python | Python3 | py | Runtime Error | 20 | 5600 | 526 | n, m, l = map(int, input().split())
A, B = [], []
C = [[0 for i in range(n)] for j in range(l)]
for i in range(n):
A.append([int(i) for i in input().split()])
for i in range(m):
B.append([int(i) for i in input().split()])
B = list(zip(*B))
for i, line_A in enumerate(A):
for j, line_B in enumerate(B):
... | Traceback (most recent call last):
File "/tmp/tmpjaq7ug7s/tmpnnx3d50j.py", line 1, in <module>
n, m, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s916302044 | p02415 | u928633434 | 1556518240 | Python | Python3 | py | Runtime Error | 0 | 0 | 66 | https://onlinejudge.u-aizu.ac.jp/courses/lesson/2/ITP1/7/ITP1_7_D
| File "/tmp/tmpfr16nk2u/tmpho_2tue2.py", line 1
https://onlinejudge.u-aizu.ac.jp/courses/lesson/2/ITP1/7/ITP1_7_D
^^
SyntaxError: invalid syntax
| |
s013092902 | p02415 | u928633434 | 1556518260 | Python | Python3 | py | Runtime Error | 0 | 0 | 39 | string=input()
print(string.swapcase()
| File "/tmp/tmpxrgukcxn/tmp7d_mhy6n.py", line 2
print(string.swapcase()
^
SyntaxError: '(' was never closed
| |
s055484846 | p02415 | u662822413 | 1556546065 | Python | Python3 | py | Runtime Error | 0 | 0 | 49 | Target=input()
Target.swapcases()
print(Target)
| Traceback (most recent call last):
File "/tmp/tmpwym_2jwi/tmprtt7ghrv.py", line 1, in <module>
Target=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s366251125 | p02415 | u480501638 | 1558936150 | Python | Python3 | py | Runtime Error | 0 | 0 | 292 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
getline(cin, s);
for (int i=0;i<s.size();i++) {
if (s[i] >= 'a' && s[i] <= 'z')
s[i] += 'A' - 'a';
else if (s[i] >= 'A' && s[i] <= 'Z')
s[i] -= 'A' - 'a';
}
cout << s << endl;
}
| File "/tmp/tmp_hcix807/tmp2kbcjj7j.py", line 3
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s320997803 | p02415 | u480501638 | 1558936204 | Python | Python3 | py | Runtime Error | 0 | 0 | 292 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
getline(cin, s);
for (int i=0;i<s.size();i++) {
if (s[i] >= 'a' && s[i] <= 'z')
s[i] += 'A' - 'a';
else if (s[i] >= 'A' && s[i] <= 'Z')
s[i] -= 'A' - 'a';
}
cout << s << endl;
}
| File "/tmp/tmpugfz7k9s/tmp9_o14_f1.py", line 3
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s788758033 | p02415 | u480501638 | 1558936236 | Python | Python3 | py | Runtime Error | 0 | 0 | 292 | #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
getline(cin, s);
for (int i=0;i<s.size();i++) {
if (s[i] >= 'a' && s[i] <= 'z')
s[i] += 'A' - 'a';
else if (s[i] >= 'A' && s[i] <= 'Z')
s[i] -= 'A' - 'a';
}
cout << s << endl;
}
| File "/tmp/tmp_t5m7rau/tmp7r83fmfa.py", line 3
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s996498847 | p02415 | u535719732 | 1559290098 | Python | Python3 | py | Runtime Error | 0 | 0 | 28 | print(input().swapcase()))
| File "/tmp/tmp4up43xt3/tmps7ypt9b8.py", line 1
print(input().swapcase()))
^
SyntaxError: unmatched ')'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.