백준 20332번: Divvying Up #Python

ColorlessDia·2025년 2월 21일

algorithm/baekjoon

목록 보기
460/807
n = int(input())
w = sum(map(int, input().split()))

if w % 3 == 0:
    print('yes')
else:
    print('no')

0개의 댓글