This website works better with JavaScript
Startseite
Erkunden
Hilfe
Registrieren
Anmelden
AOJTeam
/
Contest1458
Beobachten
5
Favorit hinzufügen
0
Fork
0
Dateien
Issues
0
Pull-Requests
0
Wiki
Branch:
master
Branches
Tags
master
Contest1458
/
Python
/
C.py
C.py
113 B
Permalink
Verlauf
Originalformat
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))