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:]))