← Back to List
23795번: 사장님 도박은 재미로 하셔야 합니다 ↗
Solutions
Python 3
81 B | 81 chars
s=0 while 1: a = int(input()) if a == -1: break s+=a print(s)