BOJ - 16504 - 종이접기

Updated:

import sys

def solution():
    N = int(input())
    arr = []
    for _ in range(N):
        arr.append(list(map(int, sys.stdin.readline().split())))

    ret = 0
    for i in arr:
        ret += sum(i)
    print(ret)
solution()

https://www.acmicpc.net/problem/16504

Categories:

Updated:

Leave a comment