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