본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 28808번  Таблица результатов

by 현장 2024. 2. 9.

-Code

n, m = map(int, input().split())
res = 0

for _ in range(n):
    line = input()

    if "+" in line:
        res += 1

print(res)