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

[백준/파이썬] 33179번 Hezardastan’s Annual Report

by 현장 2025. 1. 31.

-Code

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

for el in pages:
    res += (el + 1) // 2

print(res)