This website works better with JavaScript
Головна сторінка
Огляд
Довідка
Реєстрація
Увійти
AOJTeam
/
Contest1458
Слідкувати
5
Зірка
0
Відгалуження
0
Файли
Проблеми
0
Запити на злиття
0
Wiki
Дерево:
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:]))