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

python, what's wrong? Runtime error
Posted by mazsick 26 Dec 2015 17:22
a=int(input())
b=int(input())
print(a+b)

Edited by author 26.12.2015 17:28
Re: python, what's wrong? Runtime error
Posted by ToadMonster 28 Dec 2015 18:10
Is it python 3.x?

Task means both a and b are on the same line. You mean there is only one value per line.
Find working example here:
http://acm.timus.ru/help.aspx?topic=python&locale=en