728x90
반응형

단순 사칙연산 문제이다.

s = 0
for _ in range(int(input())):
    s += sum(list(map(int, input().split())))
print(s)
728x90
반응형

+ Recent posts