Beakjoon&프로그래머스/파이썬
[백준/파이썬] 13617번 Handebol
현장
2022. 11. 19. 19:40
-Code
n, m = map(int, input().split())
cnt = 0
for _ in range(n):
score = list(map(int, input().split()))
if score.count(0) == 0:
cnt += 1
print(cnt)