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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s842905005 | p02410 | u643542669 | 1546116299 | Python | Python3 | py | Runtime Error | 0 | 0 | 260 | n, m = map(int, input().split())
a = [[] * n]
b = [None] * m
for i in range(n):
a[i] = list(map(int, input().split()))
for i in range(m):
b[i] = int(input())
for i in range(n):
c = None
for j in range(m):
c += a[j] * b[j]
print(c)
| Traceback (most recent call last):
File "/tmp/tmp0vgdcw1a/tmpn0v2ks1h.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s990985012 | p02410 | u643542669 | 1546116685 | Python | Python3 | py | Runtime Error | 0 | 0 | 282 | n, m = map(int, input().split())
a = [[None] * m for _ in range(n)]
b = [None] * m
for i in range(n):
a[i] = list(map(int, input().split()))
for i in range(m):
b[i] = int(input())
for _ in range(n):
c = None
for i in range(m):
c += a[i] * b[i]
print(c)
| Traceback (most recent call last):
File "/tmp/tmpw91ppbxo/tmpphy0y0nv.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s518797335 | p02410 | u643542669 | 1546116711 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | n, m = map(int, input().split())
a = [[None] * m for _ in range(n)]
b = [None] * m
for i in range(n):
a[i] = list(map(int, input().split()))
for i in range(m):
b[i] = int(input())
for _ in range(n):
c = 0
for i in range(m):
c += a[i] * b[i]
print(c)
| Traceback (most recent call last):
File "/tmp/tmp4m3u8f3_/tmpiw0uytsd.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s019925399 | p02410 | u643542669 | 1546116767 | Python | Python3 | py | Runtime Error | 0 | 0 | 285 | n, m = map(int, input().split())
a = [[None] * m for _ in range(n)]
b = [None] * m
for i in range(n):
a[i] = list(map(int, input().split()))
for i in range(m):
b[i] = int(input())
for i in range(n):
c = None
for j in range(m):
c += a[i][j] * b[j]
print(c)
| Traceback (most recent call last):
File "/tmp/tmpz1bqdyzo/tmpin7qppwz.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s679509992 | p02410 | u643542669 | 1546116796 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | n, m = map(int, input().split())
a = [[0] * m for _ in range(n)]
b = [0] * m
for i in range(n):
a[i] = list(map(int, input().split()))
for i in range(m):
b[i] = int(input())
for i in range(n):
c = None
for j in range(m):
c += a[i][j] * b[j]
print(c)
| Traceback (most recent call last):
File "/tmp/tmp_nrpyxrn/tmpcxbprsvt.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s486424590 | p02410 | u643542669 | 1546122375 | Python | Python3 | py | Runtime Error | 0 | 0 | 263 | n, m = map(int, input().split())
a = [[None] * n]
b = [None] * m
for i in range(n):
a[i] = list(map(int, input().split()))
for i in range(m):
b[i] = int(input())
for i in range(n):
c = 0
for j in range(m):
c += a[i][j] * b[j]
print(c)
| Traceback (most recent call last):
File "/tmp/tmp_u8j3hsw/tmpnglewl1j.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s835362655 | p02410 | u643542669 | 1546122644 | Python | Python3 | py | Runtime Error | 0 | 0 | 241 | n, m = map(int, input().split())
a = []
b = []
for i in range(n):
a += list(map(int, input().split()))
for i in range(m):
b += int(input())
for i in range(n):
c = 0
for j in range(m):
c += a[i][j] * b[j]
print(c)
| Traceback (most recent call last):
File "/tmp/tmpveq_ughz/tmpe19_fzoh.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s162375212 | p02410 | u643542669 | 1546122752 | Python | Python3 | py | Runtime Error | 0 | 0 | 246 | n, m = map(int, input().split())
a = []
b = []
for i in range(n):
a += list(map(int, input().split()))
for i in range(m):
b.append(int(input()))
for i in range(n):
c = 0
for j in range(m):
c += a[i][j] * b[j]
print(c)
| Traceback (most recent call last):
File "/tmp/tmp22vtjqnh/tmp5myqxiv8.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s783362048 | p02410 | u643542669 | 1546124030 | Python | Python3 | py | Runtime Error | 0 | 0 | 202 | n, m = map(int, input().split())
a = [list(map(int, input().split())) for _ in range(n)]
b = [int(input()) for _ in range(m)]
for i in a:
c = 0
for j, k in i, b:
c += j * k
print(c)
| Traceback (most recent call last):
File "/tmp/tmpqyznrk6d/tmpepxua37u.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s390209891 | p02410 | u498462680 | 1546394702 | Python | Python3 | py | Runtime Error | 20 | 5604 | 582 | #データ入力
rowNum, columnNum = map(int, input().split())
inMat = [[0] * columnNum for i in range(columnNum)]
inColumnVec = [[0] for i in range(columnNum)]
for row in range(rowNum):
inMat[row] = [int(i) for i in input().split()]
for column in range(columnNum):
inColumnVec[column] = int(input())
timesAns = [[0] for ... | Traceback (most recent call last):
File "/tmp/tmphoulx0h1/tmpukt1kpie.py", line 2, in <module>
rowNum, columnNum = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s334604037 | p02410 | u498462680 | 1546397060 | Python | Python3 | py | Runtime Error | 20 | 5604 | 582 | #データ入力
rowNum, columnNum = map(int, input().split())
inMat = [[0] * columnNum for i in range(columnNum)]
inColumnVec = [[0] for i in range(columnNum)]
for row in range(rowNum):
inMat[row] = [int(i) for i in input().split()]
for column in range(columnNum):
inColumnVec[column] = int(input())
timesAns = [[0] for ... | Traceback (most recent call last):
File "/tmp/tmpcywy9s41/tmpuvjoc1og.py", line 2, in <module>
rowNum, columnNum = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s828718291 | p02410 | u902639104 | 1551466515 | Python | Python3 | py | Runtime Error | 0 | 0 | 309 | n,m=map(int,input().split())
lst=[[]*m for i in range(n)]
for i in range(n):
lst[i]=list(map(int,input().split()))
lst2=[[]*1 for i in range(m)]
for i in range(m):
lst2[i]=list(map(int,input().split()))
for i in range(n):
x=0
for j in range(m):
x=x+lst[j][i]*lst2[l]
print(int(x))
| Traceback (most recent call last):
File "/tmp/tmpueb8ax85/tmp39e2naw5.py", line 1, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s589208940 | p02410 | u902639104 | 1551466577 | Python | Python3 | py | Runtime Error | 0 | 0 | 308 | n,m=map(int,input().split())
lst=[[]*m for i in range(n)]
for i in range(n):
lst[i]=list(map(int,input().split()))
lst2=[[]*1 for i in range(m)]
for i in range(m):
lst2[i]=list(map(int,input().split()))
for i in range(n):
x=0
for j in range(m):
x+=lst[j][i]*lst2[j]
print(int(x))
| Traceback (most recent call last):
File "/tmp/tmpwemmhy_8/tmp2jo3tydp.py", line 1, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s576217483 | p02410 | u902639104 | 1551466639 | Python | Python3 | py | Runtime Error | 0 | 0 | 312 | n,m=map(int,input().split())
lst=[[]*m for i in range(n)]
for i in range(n):
lst[i]=list(map(int,input().split()))
lst2=[[]*1 for i in range(m)]
for i in range(m):
lst2[i]=list(map(int,input().split()))
for i in range(n):
x=0
for j in range(m):
x=x+lst[j][i]*lst2[l]
print("%d"%(x))
| Traceback (most recent call last):
File "/tmp/tmpmv1far2b/tmpo17821yi.py", line 1, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s328478172 | p02410 | u902639104 | 1551466691 | Python | Python3 | py | Runtime Error | 0 | 0 | 312 | n,m=map(int,input().split())
lst=[[]*m for i in range(n)]
for i in range(n):
lst[i]=list(map(int,input().split()))
lst2=[[]*1 for i in range(m)]
for i in range(m):
lst2[i]=list(map(int,input().split()))
for i in range(n):
x=0
for j in range(m):
x=x+lst[i][j]*lst2[j]
print("%d"%(x))
| Traceback (most recent call last):
File "/tmp/tmpbxare30b/tmpf30jxsn5.py", line 1, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s780478401 | p02410 | u902639104 | 1551466714 | Python | Python3 | py | Runtime Error | 0 | 0 | 312 | n,m=map(int,input().split())
lst=[[]*m for i in range(n)]
for i in range(n):
lst[i]=list(map(int,input().split()))
lst2=[[]*1 for i in range(m)]
for i in range(m):
lst2[i]=list(map(int,input().split()))
for i in range(n):
x=0
for j in range(m):
x=x+lst[i][j]*lst2[j]
print("%d"%(x))
| Traceback (most recent call last):
File "/tmp/tmpz96i29pz/tmpdq5dkdnz.py", line 1, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s460125657 | p02410 | u902639104 | 1551466789 | Python | Python3 | py | Runtime Error | 0 | 0 | 308 | n,m=map(int,input().split())
lst=[[]for i in range(n)]
for i in range(n):
lst[i]=list(map(int,input().split()))
lst2=[[]*1 for i in range(m)]
for i in range(m):
lst2[i]=list(map(int,input().split()))
for i in range(n):
x=0
for j in range(m):
x=x+lst[i][j]*lst2[j]
print("%d"%(x))
| Traceback (most recent call last):
File "/tmp/tmp3l_hhird/tmp20rcview.py", line 1, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s777015885 | p02410 | u482227082 | 1556436546 | Python | Python3 | py | Runtime Error | 0 | 0 | 275 | n, m = map(int, input().split())
a = [0] * n
b = [0] * m
for i in range(n):
a[i] = list(map(int, input().split()))
for i in range(n):
b[i] = int(input())
for i in range(m):
ret = 0
for j in range(n):
ret += a[i][j] * b[j]
print(ret)
| Traceback (most recent call last):
File "/tmp/tmpg7d_32yt/tmpf0zs8ond.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s846543558 | p02410 | u805716376 | 1556712975 | Python | Python3 | py | Runtime Error | 0 | 0 | 278 | import numpy as np
n, m = map(int, input().split())
a = []
b = []
for i in range(n):
a += [list(map(int, input().split()))]
for i in range(m):
b += [int(input())]
a = np.array(a)
b = np.array(b)
b.reshape(4, 1)
c = np.dot(a, b)
for i in range(len(c))
print(c[i])
| File "/tmp/tmph7oa1fxj/tmp9j2djzsd.py", line 15
for i in range(len(c))
^
SyntaxError: expected ':'
| |
s530909106 | p02410 | u805716376 | 1556713034 | Python | Python3 | py | Runtime Error | 0 | 0 | 278 | import numpy as np
n, m = map(int, input().split())
a = []
b = []
for i in range(n):
a += [list(map(int, input().split()))]
for i in range(m):
b += [int(input())]
a = np.array(a)
b = np.array(b)
b.reshape(m, 1)
c = np.dot(a, b)
for i in range(len(c))
print(c[i])
| File "/tmp/tmppuvaqx2x/tmp9stjhq3s.py", line 15
for i in range(len(c))
^
SyntaxError: expected ':'
| |
s555819681 | p02410 | u805716376 | 1556713164 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | import numpy as np
n, m = map(int, input().split())
a = []
b = []
for i in range(n):
a += [list(map(int, input().split()))]
for i in range(m):
b += [int(input())]
a = np.array(a)
b = np.array(b)
b.reshape(m, 1)
c = np.dot(a, b)
for i in range(len(c)):
print(c[i])
| Traceback (most recent call last):
File "/tmp/tmpg552qj0i/tmpxi7wgapq.py", line 3, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s046762318 | p02410 | u805716376 | 1556713247 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | import numpy as np
n, m = map(int, input().split())
a = []
b = []
for i in range(n):
a += [list(map(int, input().split()))]
for i in range(m):
b += [int(input())]
a = np.array(a)
b = np.array(b)
b.reshape(m, 1)
c = np.dot(a, b)
for i in range(len(c)):
print(c[i])
| Traceback (most recent call last):
File "/tmp/tmpww57ihog/tmprwy3vwmg.py", line 3, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s293799622 | p02410 | u805716376 | 1556713308 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | import numpy as np
n, m = map(int, input().split())
a = []
b = []
for i in range(n):
a += [list(map(int, input().split()))]
for i in range(m):
b += [int(input())]
a = np.array(a)
b = np.array(b)
b.reshape(m, 1)
c = np.dot(a, b)
for i in range(len(c)):
print(c[i])
| Traceback (most recent call last):
File "/tmp/tmp6gh2z0ka/tmpe9fyfm1s.py", line 3, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s034239745 | p02410 | u805716376 | 1556713885 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | n, m = map(int, input().split())
a = [input().split() for _ in range(n)]
b = [input()for _ in range(m)]
for a in A:
print(sum(int(x)*int(y) for x, y in zip(a,b)))
| Traceback (most recent call last):
File "/tmp/tmp15qhq56t/tmp9lpjtdoz.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s313177643 | p02410 | u610816226 | 1556868736 | Python | Python3 | py | Runtime Error | 0 | 0 | 225 | n, m = map(int, input().split())
n_l = []
ans = [0, 0, 0]
for _ in range(n):
l = list(map(int, input().split()))
n_l.append(l)
for x in range(m):
p = int(input())
n_l[:,0] * p
for i in n_l:
print(sum(i))
| Traceback (most recent call last):
File "/tmp/tmpcgpwrt6e/tmphsd_ylsq.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s099149919 | p02410 | u610816226 | 1556869743 | Python | Python3 | py | Runtime Error | 0 | 0 | 223 | n, m = map(int, input().split())
n_l = []
ans = [0, 0, 0]
for _ in range(n):
l = list(map(int, input().split()))
n_l.append(l)
for x in range(m):
p = int(input())
n_l[0:][x]
for i in n_l:
print(sum(i))
| Traceback (most recent call last):
File "/tmp/tmpuiqr8874/tmpmlg2vax6.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s053189795 | p02410 | u610816226 | 1556870116 | Python | Python3 | py | Runtime Error | 0 | 0 | 225 | n, m = map(int, input().split())
n_l = []
ans = [0, 0, 0]
for _ in range(n):
l = list(map(int, input().split()))
n_l.append(l)
for x in range(m):
p = int(input())
n_l[:][:][x]
for i in n_l:
print(sum(i))
| Traceback (most recent call last):
File "/tmp/tmpc3flr14u/tmpv2bmke7w.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s089584368 | p02410 | u610816226 | 1556870592 | Python | Python3 | py | Runtime Error | 0 | 0 | 244 | n, m = map(int, input().split())
n_l = []
ans = [0, 0, 0]
for _ in range(n):
l = list(map(int, input().split()))
n_l.append(l)
for x in range(m):
p = int(input())
for o in n:
n_l[o] *= p
for i in n_l:
print(sum(i))
| Traceback (most recent call last):
File "/tmp/tmpg11zlj7w/tmpw7cow5n1.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s712559734 | p02410 | u250040203 | 1558941414 | Python | Python3 | py | Runtime Error | 0 | 0 | 434 | n,m=map(int,input().split())
A=[[0 for j in range(m)]for i in range(n)]
B=[[0 for j in range(1)]for i in range(m)]
C=[[0 for j in range(1)]for i in range(n)]
for i in range(n):
A1,A2,A3,A4=map(int,input().split())
A[i][0]=A1
A[i][1]=A2
A[i][2]=A3
A[i][3]=A4
for i in range(m):
B[i][0]=int(input())
S=int(0)
f... | Traceback (most recent call last):
File "/tmp/tmplfturz9c/tmp8hr7b48h.py", line 1, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s090522375 | p02410 | u250040203 | 1558941742 | Python | Python3 | py | Runtime Error | 20 | 5604 | 450 | #ITP1_6_D
n,m=map(int,input().split())
A=[[0 for j in range(m)]for i in range(n)]
B=[[0 for j in range(1)]for i in range(m)]
C=[[0 for j in range(1)]for i in range(n)]
for i in range(n):
A1,A2,A3,A4=map(int,input().split())
A[i][0]=A1
A[i][1]=A2
A[i][2]=A3
A[i][3]=A4
for i in range(m):
B[i][0]=int(input())
... | Traceback (most recent call last):
File "/tmp/tmpdqbcvogp/tmp3b59zhgh.py", line 2, in <module>
n,m=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s592953236 | p02410 | u954630472 | 1559124262 | Python | Python3 | py | Runtime Error | 0 | 0 | 345 | from sys import stdin
n, m = (int(n) for n in stdin.readline().rstrip().split())
a = []
for cnt in range(n):
a.append([int(n) for n in stdin.readline().rstrip().split()])
b = []
for cnt in range(m):
b.append([int(n) for n in stdin.readline().rstrip().split()])
from numpy import dot
c = dot(a, b)
for cn i... | Traceback (most recent call last):
File "/tmp/tmpqv193ov8/tmpzi8dtnwv.py", line 3, in <module>
n, m = (int(n) for n in stdin.readline().rstrip().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s904925223 | p02410 | u535719732 | 1559222518 | Python | Python3 | py | Runtime Error | 0 | 0 | 278 | a = [[0]*4 for i in range(3)]
b = [0]*4
n, m = input().split()
for i in range(n):
a[n] = list(map(int,input().split()))
for j in range(m):
b[j] = int(input())
c = [0]*3
for i in range(n):
for j in range(m):
c[i] += a[i][j] * b[j]
for i in c:
print(i)
| Traceback (most recent call last):
File "/tmp/tmp9t6jzk78/tmpw_ctltt7.py", line 4, in <module>
n, m = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s351615590 | p02410 | u535719732 | 1559222538 | Python | Python3 | py | Runtime Error | 0 | 0 | 287 | a = [[0]*4 for i in range(3)]
b = [0]*4
n, m = map(int,input().split())
for i in range(n):
a[n] = list(map(int,input().split()))
for j in range(m):
b[j] = int(input())
c = [0]*3
for i in range(n):
for j in range(m):
c[i] += a[i][j] * b[j]
for i in c:
print(i)
| Traceback (most recent call last):
File "/tmp/tmplen64by9/tmpnko0v2yx.py", line 4, in <module>
n, m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s170574456 | p02410 | u535719732 | 1559222579 | Python | Python3 | py | Runtime Error | 20 | 5600 | 287 | a = [[0]*4 for i in range(3)]
b = [0]*4
n, m = map(int,input().split())
for i in range(n):
a[i] = list(map(int,input().split()))
for j in range(m):
b[j] = int(input())
c = [0]*n
for i in range(n):
for j in range(m):
c[i] += a[i][j] * b[j]
for i in c:
print(i)
| Traceback (most recent call last):
File "/tmp/tmpvzk72v5i/tmpgwktnxbc.py", line 4, in <module>
n, m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s460331415 | p02410 | u535719732 | 1559222596 | Python | Python3 | py | Runtime Error | 20 | 5604 | 292 | a = [[0]*4 for i in range(3)]
b = [0]*4
n, m = map(int,input().split())
for i in range(n):
a[i] = list(map(int,input().split()))
for j in range(m):
b[j] = int(input())
c = [0]*int(n)
for i in range(n):
for j in range(m):
c[i] += a[i][j] * b[j]
for i in c:
print(i)
| Traceback (most recent call last):
File "/tmp/tmpogiyd1ua/tmp86uap2gi.py", line 4, in <module>
n, m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s733972406 | p02410 | u535719732 | 1559222606 | Python | Python3 | py | Runtime Error | 20 | 5604 | 287 | a = [[0]*4 for i in range(3)]
b = [0]*4
n, m = map(int,input().split())
for i in range(n):
a[i] = list(map(int,input().split()))
for j in range(m):
b[j] = int(input())
c = [0]*n
for i in range(n):
for j in range(m):
c[i] += a[i][j] * b[j]
for i in c:
print(i)
| Traceback (most recent call last):
File "/tmp/tmpuh4qaeu8/tmp2sathzis.py", line 4, in <module>
n, m = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s293246356 | p02410 | u529337794 | 1559561440 | Python | Python3 | py | Runtime Error | 0 | 0 | 304 | n, m = map(int, input().split())
a = [[] for _ in range(n)]
for i in range(n):
a[i] = list(map(int, input().split()))
b = [0 for _ in range(m)]
for i in range(m):
b[i] = int(input())
for i in range(n):
d = 0
for j in range(m):
d += a[i][j]*b[j]
print(d)
| Traceback (most recent call last):
File "/tmp/tmpkaqksz1o/tmp20is5tzn.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s875385985 | p02410 | u451187291 | 1404915319 | Python | Python | py | Runtime Error | 0 | 0 | 244 | import scipy as np
def az18_2():
n,m = map(int,raw_input().split())
a = np.array([map(int, raw_input().split()) for i in range(n)])
b = np.array([input() for i in range(m)])
for i in range(n):
print a.dot(b)[i]
az18_2() | File "/tmp/tmptbcoxbga/tmp4omv2axs.py", line 8
print a.dot(b)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s185451583 | p02410 | u451187291 | 1404915471 | Python | Python | py | Runtime Error | 0 | 0 | 244 | import numpy as np
def az18_2():
n,m = map(int,raw_input().split())
a = np.array([map(int, raw_input().split()) for i in range(n)])
b = np.array([input() for i in range(m)])
for i in range(n):
print a.dot(b)[i]
az18_2() | File "/tmp/tmpzaicgjbr/tmp0anxib5u.py", line 8
print a.dot(b)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s775261301 | p02410 | u567380442 | 1421127939 | Python | Python3 | py | Runtime Error | 0 | 0 | 235 | import numpy as np
n, m = map(int, input().split())
a = np.zeros([n, m])
for i in range(n):
a[0] = list(map(int, input().split()))
b = np.zeros(m)
for i in range(m):
b[i] = int(input())
c = a.dot(b)
for i in c:
print(i) | Traceback (most recent call last):
File "/tmp/tmphyorowcs/tmpzp4bmqri.py", line 3, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s652643119 | p02410 | u527848444 | 1424653294 | Python | Python3 | py | Runtime Error | 0 | 0 | 346 | (n,m) = [int(i) for i in input().split()]
A = []
for nc in range(n):
A.append([int(i) for i in input().split()])
b = []
for mc in range(m):
b.append(int(i) for i in input())
product = []
for nc in range(n):
total = 0
for mc in range(m):
total += A[nc][mc] * b[mc]
product.append(total)
[... | Traceback (most recent call last):
File "/tmp/tmpaz3lo4i9/tmpa7znffxl.py", line 1, in <module>
(n,m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s326857259 | p02410 | u527848444 | 1424653328 | Python | Python3 | py | Runtime Error | 0 | 0 | 347 | (n,m) = [int(i) for i in input().split()]
A = []
for nc in range(n):
A.append([int(i) for i in input().split()])
b = []
for mc in range(m):
b.append(int(i) for i in input())
product = []
for nc in range(n):
total = 0
for mc in range(m):
total += A[nc] [mc] * b[mc]
product.append(total)
... | Traceback (most recent call last):
File "/tmp/tmp2t5z6_qp/tmpz2e9upt3.py", line 1, in <module>
(n,m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s171870623 | p02410 | u442346200 | 1424653380 | Python | Python3 | py | Runtime Error | 0 | 0 | 356 | (n,m) = [int(i) for i in input().split()]
A = []
for nc in range(n):
A.append([int(i) for i in input().split()])
b = []
for mc in range(m):
b.append([int(i) for i in input().split()])
product = []
for nc in range(n):
total = 0
for mc in range(m):
total += A[nc][mc] * b[mc]
product.append... | Traceback (most recent call last):
File "/tmp/tmpwsb6o0wt/tmpeidrj4k1.py", line 1, in <module>
(n,m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s508614234 | p02410 | u442346200 | 1424653573 | Python | Python3 | py | Runtime Error | 0 | 0 | 336 | (n,m) = [int(i) for i in input().split()]
A = []
for nc in range(n):
A.append([int(i) for i in input().split()])
b = []
for mc in range(m):
b.append([int(input()))
product = []
for nc in range(n):
total = 0
for mc in range(m):
total += A[nc][mc] * b[mc]
product.append(total)
[print(p) f... | File "/tmp/tmphjmwz5j_/tmpsmas4tzy.py", line 9
b.append([int(input()))
^
SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
| |
s932089134 | p02410 | u571345655 | 1435199689 | Python | Python | py | Runtime Error | 0 | 0 | 269 | # coding=utf-8
import numpy as np
A = []
n, m = map(int, raw_input().split())
for _ in xrange(n):
A.append(map(int, raw_input().split()))
A = np.array(A)
b = []
for _ in xrange(m):
b.append(input())
b = np.array(b)
Ab = np.dot(A, b)
for x in Ab:
print x | File "/tmp/tmpcu8an6qs/tmp6v_olnkh.py", line 18
print x
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s437491990 | p02410 | u571345655 | 1435199920 | Python | Python | py | Runtime Error | 0 | 0 | 300 | # coding=utf-8
import numpy as np
A = []
n, m = map(int, raw_input().split())
for _ in xrange(n):
A.append(map(int, raw_input().split()))
A = np.array(A)
# print A
b = []
for _ in xrange(m):
b.append(input())
b = np.array(b)
# print b
Ab = np.dot(A, b)
# print Ab
for x in Ab:
print x | File "/tmp/tmp6otz7fcm/tmpc6poemqj.py", line 21
print x
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s091098876 | p02410 | u571345655 | 1435200368 | Python | Python | py | Runtime Error | 0 | 0 | 317 | # coding=utf-8
import numpy as np
A = []
n, m = map(int, raw_input().split())
for _ in xrange(n):
A.append(map(int, raw_input().split()))
# print A
b = []
for _ in xrange(m):
b.append(input())
# print b
Ab = [sum([A[i][j] * b[j] for j in xrange(m)]) for i in xrange(n)]
# print Ab
for x in Ab:
print x | File "/tmp/tmpp9e2ucsb/tmpgricxbeu.py", line 19
print x
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s779826265 | p02410 | u446066125 | 1439168897 | Python | Python3 | py | Runtime Error | 0 | 0 | 275 | (n, m) = [int(i) for i in 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(input())
for i in range(n):
c = 0
for j in range(m):
c += A[n][m] * b[m]
print(c) | File "/tmp/tmpbfjcj_qj/tmpzhw3rw8s.py", line 11
b.append(int(input())
^
SyntaxError: '(' was never closed
| |
s223198811 | p02410 | u686134343 | 1439168956 | Python | Python3 | py | Runtime Error | 0 | 0 | 269 | (n, m) = [int(i) for i in 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(input()))
c = []
for i range(n):
s = 0
for j in range(m):
m += A[i][j] * b[j]
print(m) | File "/tmp/tmpje6r9lhi/tmpvq009xoe.py", line 5
A.append([int(j) for j in input().split()]
^
SyntaxError: '(' was never closed
| |
s380959969 | p02410 | u446066125 | 1439168978 | Python | Python3 | py | Runtime Error | 0 | 0 | 275 | (n, m) = [int(i) for i in 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(input())
for i in range(n):
c = 0
for j in range(m):
c += A[i][j] * b[j]
print(c) | File "/tmp/tmpa5aclchm/tmpa9k3au3y.py", line 11
b.append(int(input())
^
SyntaxError: '(' was never closed
| |
s134434314 | p02410 | u442346200 | 1439168982 | Python | Python3 | py | Runtime Error | 0 | 0 | 264 | (n, m) = [int(i) for i in 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(input()))
for i in range(n):
s = 0
for j in range(m):
m += A[i][j] * B[j]
print(s) | Traceback (most recent call last):
File "/tmp/tmpwzs7_v46/tmpi1iamkat.py", line 1, in <module>
(n, m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s556506125 | p02410 | u446066125 | 1439169017 | Python | Python3 | py | Runtime Error | 0 | 0 | 270 | (n, m) = [int(i) for i in 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(input())
for i in range(n):
c = 0
for j in range(m):
c += A[i][j] * b[j]
print(c) | File "/tmp/tmpox5mdr2w/tmp5h0_wdkg.py", line 11
b.append(int(input())
^
SyntaxError: '(' was never closed
| |
s694731889 | p02410 | u686134343 | 1439169021 | Python | Python3 | py | Runtime Error | 0 | 0 | 269 | (n, m) = [int(i) for i in 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(input()))
c = []
for i range(n):
s = 0
for j in range(m):
s += A[i][j] * b[j]
print(s) | File "/tmp/tmp4xxnum21/tmpai_8y9ft.py", line 5
A.append([int(j) for j in input().split()]
^
SyntaxError: '(' was never closed
| |
s846489419 | p02410 | u255164080 | 1439169123 | Python | Python3 | py | Runtime Error | 0 | 0 | 266 | (n, m) = [int(i) for i in input().split()]
A = [[]]
b = []
for i input range(n):
A.append([int(j) for j in input().split()])
for i in range(m):
b.append(int(input()))
c = []
for i in range(n):
s = 0
for j in range(m)
s += A[n][m] * b[m] | File "/tmp/tmpbkj85t6x/tmp8ceg2i6k.py", line 4
for i input range(n):
^^^^^
SyntaxError: invalid syntax
| |
s644242327 | p02410 | u605525736 | 1439169129 | Python | Python3 | py | Runtime Error | 0 | 0 | 284 | (n,m) = [int(i) for i in 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(input()))
print(A)
print(b)
for i in range(n):
s = 0
for j in range(m):
m += A[i][j] * b[j]
print(s) | Traceback (most recent call last):
File "/tmp/tmp9lc20dpe/tmp2nb4eb_5.py", line 1, in <module>
(n,m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s044873705 | p02410 | u686134343 | 1439169132 | Python | Python3 | py | Runtime Error | 0 | 0 | 273 | (n, m) = [int(i) for i in 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(input()))
c = []
for i range(n):
s = 0
for j in range(m):
m += A[i][j] * b[j]
print(s) | File "/tmp/tmpg5rtniox/tmp7l3e7zvu.py", line 5
A.append([int(j) for j in input().split()]
^
SyntaxError: '(' was never closed
| |
s178021155 | p02410 | u306530296 | 1439169152 | Python | Python3 | py | Runtime Error | 0 | 0 | 268 | (n,m) = [int(i) for i in input().split()]
A = []
b = []
for i in range(n):
A.oppend([int(j) for j in input().split()])
for i in range(m):
b.oppend(int(input()))
for i in range(n):
s = 0
for j in range(m):
s += A[i][j] * b[j]
print(s)
| Traceback (most recent call last):
File "/tmp/tmp4r4q67th/tmp6afnc3v1.py", line 1, in <module>
(n,m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s732631648 | p02410 | u118723993 | 1439169153 | Python | Python | py | Runtime Error | 0 | 0 | 270 | (m, m) = [int(i) for i in input().split()]
A = []
b = []
for i in range(m):
A.append([int(j) for j in input().split()])
for i in range(m):
b.apped(int(input()))
c = []
for i in range(n):
s = 0
for j in range(m):
m += A[n][m] * b[m]
print(m) | Traceback (most recent call last):
File "/tmp/tmpt0vi2oww/tmpg3mx77l7.py", line 1, in <module>
(m, m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s125393139 | p02410 | u446066125 | 1439169156 | Python | Python3 | py | Runtime Error | 0 | 0 | 273 | (n, m) = [int(i) for i in 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(input()))
for i in range(n):
c = 0
for j in range(m):
c += A[i][j] * b[j]
print(c) | Traceback (most recent call last):
File "/tmp/tmpimvzb1n8/tmpveslr0df.py", line 1, in <module>
(n, m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s903378443 | p02410 | u118723993 | 1439169167 | Python | Python3 | py | Runtime Error | 0 | 0 | 270 | (m, m) = [int(i) for i in input().split()]
A = []
b = []
for i in range(m):
A.append([int(j) for j in input().split()])
for i in range(m):
b.apped(int(input()))
c = []
for i in range(n):
s = 0
for j in range(m):
m += A[n][m] * b[m]
print(m) | Traceback (most recent call last):
File "/tmp/tmp6e4ybzbv/tmpaxwm7qzp.py", line 1, in <module>
(m, m) = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s233733330 | p02410 | u255164080 | 1439169294 | Python | Python3 | py | Runtime Error | 0 | 0 | 279 | (n, m) = [int(i) for i in input().split()]
A = [[]]
b = []
for i input range(n):
A.append([int(j) for j in input().split()])
for i in range(m):
b.append(int(input()))
c = []
for i in range(n):
s = 0
for j in range(m)
s += A[n][m] * b[m] | File "/tmp/tmpw4k1rq65/tmpoxglyj2t.py", line 2
A = [[]]
IndentationError: unexpected indent
| |
s227355347 | p02410 | u745846646 | 1439169399 | Python | Python3 | py | Runtime Error | 0 | 0 | 273 | (n, m) = [int(i) for i in 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(input()))
c = []
for i in range(n):
m = 0
for j in range(m):
s += A[i][j] = b[j]
print(s) | File "/tmp/tmpr7brjtm5/tmpwhlxs538.py", line 15
s += A[i][j] = b[j]
^
SyntaxError: invalid syntax
| |
s862829841 | p02410 | u925228699 | 1439169447 | Python | Python3 | py | Runtime Error | 0 | 0 | 254 | (n, m) = [int(i) for i in input().split()]
A = []
b = []
for i in range(n):
A. append([int(j) for j in input().split() ])
for i in ronge(m):
b.append(int(input()))
for i in range(n):
m = 0
for j in range(m):
s += A[j][j] * b[j]
print(s) | File "/tmp/tmp3lygg45g/tmp5tfugayj.py", line 12
m = 0
^
IndentationError: expected an indented block after 'for' statement on line 11
| |
s337643397 | p02410 | u925228699 | 1439169498 | Python | Python3 | py | Runtime Error | 0 | 0 | 254 | (n, m) = [int(i) for i in input().split()]
A = []
b = []
for i in range(n):
A. append([int(j) for j in input().split() ])
for i in ronge(m):
b.append(int(input()))
for i in range(n):
m = 0
for j in range(m):
s += A[j][j] * b[j]
print(s) | File "/tmp/tmpr9smmv4z/tmpxbd447au.py", line 12
m = 0
^
IndentationError: expected an indented block after 'for' statement on line 11
| |
s828485235 | p02410 | u473077745 | 1440639991 | Python | Python3 | py | Runtime Error | 0 | 0 | 292 | (n, m) = [int(i) for i in 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(input()))
for i in range(n):
????????s = 0
????????for j in range(m):
????????????????s += A[i][j] * b[j]
????????print(s) | File "/tmp/tmp8cfmi63m/tmpj40l60am.py", line 5
????????A.append([int(j) for j in input().split()])
^
IndentationError: expected an indented block after 'for' statement on line 4
| |
s775595533 | p02410 | u473077745 | 1440640104 | Python | Python3 | py | Runtime Error | 0 | 0 | 244 | (n, m) = [int(i) for i in 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(input()))
for i in range(n):
s = 0
for j in range(m):
s += A[i][j] * b[j]
print(s) | File "/tmp/tmpdze_q6lk/tmphvq_5soi.py", line 5
A.append([int(j) for j in input().split()])
^
IndentationError: expected an indented block after 'for' statement on line 4
| |
s286044422 | p02410 | u240363515 | 1443578889 | Python | Python | py | Runtime Error | 0 | 0 | 378 | import numpy as np
N, M = map(int, raw_input().split())
matrix = []
array = []
for n in range(N):
tmp = map(int, raw_input().split())
if len(tmp) > M:
print 'error'
matrix.append(tmp)
matrix = np.array(matrix)
for m in range(M):
tmp = input()
array.append(tmp)
array = np.array(array)
multi... | File "/tmp/tmpujc7w4zd/tmp1u4_m5wv.py", line 8
print 'error'
^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s621861668 | p02410 | u334643297 | 1454517479 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmp88ls00zg/tmpzaaiisfy.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s104264237 | p02410 | u334643297 | 1454517597 | Python | Python | py | Runtime Error | 0 | 0 | 326 | import numpy
n, m = map(int, raw_input().split())
a = numpy.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = numpy.c_[a, (map(int, raw_input().split()))]
b = numpy.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = numpy.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot... | File "/tmp/tmpwchf4zdt/tmpmyb1yxr_.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s393658952 | p02410 | u334643297 | 1454517609 | Python | Python | py | Runtime Error | 0 | 0 | 326 | import numpy
n, m = map(int, raw_input().split())
a = numpy.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = numpy.c_[a, (map(int, raw_input().split()))]
b = numpy.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = numpy.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot... | File "/tmp/tmpmazj1d3k/tmphhbihdo2.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s306025758 | p02410 | u334643297 | 1454517643 | Python | Python | py | Runtime Error | 0 | 0 | 326 | import numpy
n, m = map(int, raw_input().split())
a = numpy.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = numpy.c_[a, (map(int, raw_input().split()))]
b = numpy.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = numpy.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot... | File "/tmp/tmpuq8epek8/tmpbel4xar4.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s308503713 | p02410 | u334643297 | 1454517813 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmpkq6tr8nr/tmpxhj8p8ym.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s411020692 | p02410 | u334643297 | 1454517868 | Python | Python | py | Runtime Error | 0 | 0 | 168 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))] | Traceback (most recent call last):
File "/tmp/tmpxgl1dzq2/tmpa6nmp10b.py", line 2, in <module>
n, m = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s256379577 | p02410 | u334643297 | 1454517883 | Python | Python | py | Runtime Error | 0 | 0 | 55 | import numpy as np
n, m = map(int, raw_input().split()) | Traceback (most recent call last):
File "/tmp/tmptehk7jsg/tmptc3s3lvk.py", line 2, in <module>
n, m = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s380150093 | p02410 | u334643297 | 1454517894 | Python | Python | py | Runtime Error | 0 | 0 | 18 | import numpy as np | ||
s660172150 | p02410 | u334643297 | 1454518069 | Python | Python | py | Runtime Error | 0 | 0 | 12 | import numpy | ||
s345425413 | p02410 | u334643297 | 1454518094 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmpvii4ve0q/tmpj8pkkow2.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s898990559 | p02410 | u334643297 | 1454518130 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmpzjpt428a/tmp2eon5ovy.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s289029381 | p02410 | u334643297 | 1454518201 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import NumPy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmp_4jgp1q2/tmpj4o6kzil.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s565670705 | p02410 | u334643297 | 1454518214 | Python | Python | py | Runtime Error | 0 | 0 | 314 | import NumPy
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmpss1adzdq/tmp28wcr6rg.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s467785591 | p02410 | u334643297 | 1454518259 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmp313hnbo3/tmpwjbpylrz.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s863224264 | p02410 | u334643297 | 1454518266 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmpvmrimzfs/tmpnce4z7dh.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s563020162 | p02410 | u334643297 | 1454518512 | Python | Python | py | Runtime Error | 0 | 0 | 314 |
n, m = map(int, raw_input().split())
a = numpy.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = numpy.c_[a, (map(int, raw_input().split()))]
b = numpy.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = numpy.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmphar4intg/tmp7f1pbb_b.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s038185973 | p02410 | u334643297 | 1454518628 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmp5l7kkwfe/tmpq03fyinc.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s604340364 | p02410 | u334643297 | 1454518641 | Python | Python | py | Runtime Error | 0 | 0 | 302 |
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmptnv89p6b/tmpy5ujtd_v.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s702474210 | p02410 | u334643297 | 1454518793 | Python | Python3 | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmp2vdjaqit/tmphbon600l.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s180909942 | p02410 | u334643297 | 1454518827 | Python | Python | py | Runtime Error | 0 | 0 | 62 | import numpy as np
a = np.array(map(int, raw_input().split())) | Traceback (most recent call last):
File "/tmp/tmpoc2a2836/tmpbaehu863.py", line 2, in <module>
a = np.array(map(int, raw_input().split()))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s240990707 | p02410 | u334643297 | 1454518997 | Python | Python | py | Runtime Error | 0 | 0 | 12 | import numpy | ||
s564998734 | p02410 | u334643297 | 1454519070 | Python | Python | py | Runtime Error | 0 | 0 | 320 | import numpy as np
n, m = map(int, raw_input().split())
a = np.array(map(int, raw_input().split()))
for i in xrange(n-1):
a = np.c_[a, (map(int, raw_input().split()))]
b = np.array(map(int, raw_input().split()))
for i in xrange(m-1):
b = np.r_[b, (map(int, raw_input().split()))]
for i in xrange(n):
print b.dot(a)[i] | File "/tmp/tmpw5q_c_0j/tmp1o4yyhkd.py", line 10
print b.dot(a)[i]
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s856272709 | p02410 | u334643297 | 1454519372 | Python | Python | py | Runtime Error | 0 | 0 | 350 | import numpy as np
n, m = map(int, raw_input().split())
a = [[0]*m for i in xrange(n)]
b = [0]*m
for i in xrange(n):
tmp = map(int, raw_input().split())
for j in xrange(m):
a[i][j] = tmp[j]
for i in xrange(m):
b[i] = input()
for i in xrange(n):
tmp = 0
for j in xrange(m):
tmp +... | File "/tmp/tmpgyfcig_v/tmpbeqg2n95.py", line 18
print tmp
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s225207389 | p02410 | u334643297 | 1454519402 | Python | Python | py | Runtime Error | 0 | 0 | 367 | ##import numpy as np???????????????
n, m = map(int, raw_input().split())
a = [[0]*m for i in xrange(n)]
b = [0]*m
for i in xrange(n):
tmp = map(int, raw_input().split())
for j in xrange(m):
a[i][j] = tmp[j]
for i in xrange(m):
b[i] = input()
for i in xrange(n):
tmp = 0
for j in xrange(... | File "/tmp/tmpottw410n/tmpvbc86e5e.py", line 18
print tmp
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s373903044 | p02410 | u334643297 | 1454519461 | Python | Python | py | Runtime Error | 0 | 0 | 366 | #import numpy as np???????????????
n, m = map(int, raw_input().split())
a = [[0]*m for i in xrange(n)]
b = [0]*m
for i in xrange(n):
tmp = map(int, raw_input().split())
for j in xrange(m):
a[i][j] = tmp[j]
for i in xrange(m):
b[i] = input()
for i in xrange(n):
tmp = 0
for j in xrange(m... | File "/tmp/tmp7jjg9l0t/tmpyv5qv7ze.py", line 18
print tmp
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s679595380 | p02410 | u334643297 | 1454519515 | Python | Python | py | Runtime Error | 0 | 0 | 350 | import numpy as np
n, m = map(int, raw_input().split())
a = [[0]*m for i in xrange(n)]
b = [0]*m
for i in xrange(n):
tmp = map(int, raw_input().split())
for j in xrange(m):
a[i][j] = tmp[j]
for i in xrange(m):
b[i] = input()
for i in xrange(n):
tmp = 0
for j in xrange(m):
tmp +... | File "/tmp/tmpyt6gvoqf/tmpw7rgdidb.py", line 18
print tmp
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s696301210 | p02410 | u334643297 | 1454519561 | Python | Python | py | Runtime Error | 0 | 0 | 360 | # numpy as np???????????????
n, m = map(int, raw_input().split())
a = [[0]*m for i in xrange(n)]
b = [0]*m
for i in xrange(n):
tmp = map(int, raw_input().split())
for j in xrange(m):
a[i][j] = tmp[j]
for i in xrange(m):
b[i] = input()
for i in xrange(n):
tmp = 0
for j in xrange(m):
... | File "/tmp/tmpaehniqky/tmpsqaja6y8.py", line 18
print tmp
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s593152719 | p02410 | u334643297 | 1454519565 | Python | Python | py | Runtime Error | 0 | 0 | 360 | # numpy as np???????????????
n, m = map(int, raw_input().split())
a = [[0]*m for i in xrange(n)]
b = [0]*m
for i in xrange(n):
tmp = map(int, raw_input().split())
for j in xrange(m):
a[i][j] = tmp[j]
for i in xrange(m):
b[i] = input()
for i in xrange(n):
tmp = 0
for j in xrange(m):
... | File "/tmp/tmp9f1pumy7/tmpxh183uaf.py", line 18
print tmp
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s917375325 | p02410 | u920118302 | 1454642112 | Python | Python3 | py | Runtime Error | 0 | 0 | 268 | n, m = map(int, input().split())
A = []
B = []
for i in range(n):
A.append(map(int, input().split()))
for i in range(m):
B.append(int(input()))
C = []
for i in range(n):
C.append(0)
for j in range(m):
C[i] += A[i][j] * B[j]
print(C[i]) | Traceback (most recent call last):
File "/tmp/tmpn9mmhzt8/tmptexz8c35.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s331000954 | p02410 | u920118302 | 1454642301 | Python | Python3 | py | Runtime Error | 0 | 0 | 269 | n, m = map(int, input().split())
A = []
B = []
for i in range(n):
A.append(map(int, input().split()))
for i in range(m):
B.append(int(input()))
C = []
for i in range(n):
C.append(0)
for j in range(m):
C[i] += int(A[i][j]) * B[j]
print(C[i]) | Traceback (most recent call last):
File "/tmp/tmp60bzk1w5/tmpml_5g4lw.py", line 1, in <module>
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s212029679 | p02410 | u047737909 | 1454686267 | Python | Python | py | Runtime Error | 0 | 0 | 219 | a,b = map(int, raw_input().split())
A = [map(int, raw_input().split()) for _ in xrange(a)]
b = [input() for _ in x range(b)]
Ab = [sum([A[i][j] * b[j] for j in x range(b)]) for i in x range(a)]
for x in Ab:
print x | File "/tmp/tmp8l_dt0f4/tmppxfsubup.py", line 3
b = [input() for _ in x range(b)]
^^^^^
SyntaxError: invalid syntax
| |
s592448292 | p02410 | u047737909 | 1454686411 | Python | Python | py | Runtime Error | 0 | 0 | 218 | a,b = map(int, raw_input().split())
A = [map(int, raw_input().split()) for _ in x range(a)]
B = [input() for _ in x range(b)]
C = [sum([A[i][j] * B[j] for j in x range(b)]) for i in x range(a)]
for x in C:
print x | File "/tmp/tmpu85bxgia/tmplqi9_k2k.py", line 2
A = [map(int, raw_input().split()) for _ in x range(a)]
^^^^^
SyntaxError: invalid syntax
| |
s540292822 | p02410 | u724923896 | 1454991197 | Python | Python | py | Runtime Error | 0 | 0 | 211 | n, m = input()
A, b = []
c = 0
for i in range(n):
A += [map(int, raw_input().split())]
for j in range(m):
b += [input()]
for i in range(n):
for j in range(m):
c += A[i][j] * b[j]
print c | File "/tmp/tmpyk7vvnkf/tmp53q421_z.py", line 14
print c
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.