ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1000. A+B Problem

Mizurnix Python 2.7 help needed [4] // Problem 1000. A+B Problem 18 Feb 2013 05:34
Can not figure out the right solution that passes the test
Vladimir Yakovlev (USU) Re: Python 2.7 help needed [3] // Problem 1000. A+B Problem 18 Feb 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 // Problem 1000. A+B Problem 19 Feb 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] // Problem 1000. A+B Problem 22 Feb 2014 13:57
it works but i don't understand why other codes don't work
Theerapak Re: Python 2.7 help needed // Problem 1000. A+B Problem 5 Aug 2015 18:15
Maybe your code is two line input
this problem is 1 line input