Sphere Online Judge

SPOJ Problem Set (tutorial)

3032. Adding two numbers

Problem code: ADUN


Your task is to read two numbers a and b (0 < a, b <2100000000) and to output their sum.

Input

Input contains two lines, on the first line the number a and on the second line the number b.

Output

Output the sum of the two numbers.

Example

Input:
20
30

Output:
50

Added by:Pripoae Toni
Date:2008-09-14
Time limit:1s
Source limit:1024B
Memory limit:256MB
Cluster: Pyramid (Intel Pentium III 733 MHz)
Languages:All except: ERL JS
Resource:Original

hide comments
2014-07-09 08:33:28 Sahil Dua
One liner in Python :)
2014-06-13 10:07:02 Steven Hans Limantoro
lol so easy
2013-09-20 04:09:44 Ouditchya Sinha
@alex : It should be %ld in scanf & not &ld. Please don't post your code here. Post it on the SPOJ FORUM from here on & someone will surely help you. Do remove your code after getting accepted.
2013-06-29 18:09:36 saurabh jain
one line in python :))
2013-04-23 09:45:09 Michael Kharitonov
(Tjandra Satria Gunawan)(曾毅昆): Try Malbolge.
2013-04-15 18:11:59 (Tjandra Satria Gunawan)(曾毅昆)
even for brainf**k language, I feel this problem is too easy, haha ;-)
2012-11-03 16:47:32 Dmitry Sedukhin
So easy, using BigInteger in java... Maybe , it'll be useful to add some other constraints to the task, including specific programming languages?

Last edit: 2012-11-03 16:48:51
2012-03-16 15:30:05 Gandaro
I don’t understand, why there are *that* easy problems on SPOJ… This one is really easy, even using ANSI C…
2011-08-31 04:47:04 vj
Hi, im new to this, ive written the solution to the problem in turbo c but when i submit it doesnt work and giving compilation error, could someone take a look at the code and tell me whats wrong? thanks

[code removed.]

[Re by XilinX]: See note 1 at the bottom of this page.

Last edit: 2011-08-31 09:00:53
2011-05-03 11:00:16 სვანიძე
integer :D


Last edit: 2011-05-03 11:00:36
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.