ABC121 B - Can you solve this?
https://atcoder.jp/contests/abc121/tasks/abc121_b
提出
code: python
n, m, c = map(int, input().split())
b = list(map(int, input().split()))
a =
list(map(int,input().split())) for _ in range(n)
ans = 0
for i in range(n):
res = 0
for j in range(m):
res += a
i
j
* b
j
res += c
if (res > 0):
ans += 1
print(ans)