This website works better with JavaScript
Startsida
Utforska
Hjälp
Registrera dig
Logga in
AOJTeam
/
Contest1458
Bevaka
5
Stjärnmärk
0
Fork
0
Filer
Ärenden
0
Pull-förfrågningar
0
Wiki
Gren:
master
Grenar
Taggar
master
Contest1458
/
Python
/
C.py
C.py
113 B
Permalänk
Historik
Rå
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))