This website works better with JavaScript
Почетна
Преглед
Помоћ
Регистрација
Пријавите се
AOJTeam
/
Contest1458
Прати
5
Волим
0
Креирај огранак
0
Датотеке
Дискусије
0
Захтеви за спајање
0
Вики
Дрво:
3bcfdbae7a
Гране
Ознаке
master
Contest1458
/
Python
/
C.py
C.py
113 B
Историја
Датотека
1
2
3
4
5
while True:
s = list(map(int, input().strip().split()))
if s[0] == 0:
break
print(sum(s[1:]))