ENG
RUS
Timus 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
Light
how do i submit in python
[1] // Problem
1000. A+B Problem
22 Feb 2014 13:54
a = input()
b = input()
a = int(a)
b = int(b)
c = a+b
print c
this should be correct isn't it ?
Nickolay Bukreyev
Re: how do i submit in python
// Problem
1000. A+B Problem
26 Nov 2014 14:29
It is correct in Python 2, though explicit cast is excessive. In Python 3, use should add brackets after 'print'.
© 2000–2024
Timus Online Judge Team
. All rights reserved.