This website works better with JavaScript
Strona główna
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
AOJTeam
/
Contest1458
Obserwuj
5
Polub
0
Forkuj
0
Pliki
Problemy
0
Oczekujące zmiany
0
Wiki
Drzewo:
3bcfdbae7a
Gałęzie
Tagi
master
Contest1458
/
Python
/
C.py
C.py
113 B
Historia
Czysty
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))