ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1000. A+B Problem

Mizurnix Python 2.7 help needed [4] // Задача 1000. A+B Problem 18 фев 2013 05:34
Can not figure out the right solution that passes the test
Vladimir Yakovlev (USU) Re: Python 2.7 help needed [3] // Задача 1000. A+B Problem 18 фев 2013 14:10
Try this solution:
print sum(int(x) for x in raw_input().split(' '))

Edited by author 18.02.2013 14:11
Mizurnix Re: Python 2.7 help needed // Задача 1000. A+B Problem 19 фев 2013 04:25
Thanks, it passed.

But I am still confused; I don't get why this is a solution to the described problem (a+b)
Light Re: Python 2.7 help needed [1] // Задача 1000. A+B Problem 22 фев 2014 13:57
it works but i don't understand why other codes don't work
Theerapak Re: Python 2.7 help needed // Задача 1000. A+B Problem 5 авг 2015 18:15
Maybe your code is two line input
this problem is 1 line input