This website works better with JavaScript
Domů
Procházet
Nápověda
Registrovat se
Přihlásit se
AOJTeam
/
Contest1458
Sledovat
5
Oblíbit
0
Rozštěpit
0
Soubory
Úkoly
0
Pull Requesty
0
Wiki
Strom:
3bcfdbae7a
Větve
Značky
master
Contest1458
/
Python
/
C.py
C.py
113 B
Historie
Surový
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))