ADUN - Adding two numbers
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
hide comments
(Tjandra Satria Gunawan)(曾毅昆):
2013-04-15 18:11:59
even for brainf**k language, I feel this problem is too easy, haha ;-) |
|
Dmitry Sedukhin:
2012-11-03 16:47:32
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 |
|
Gandaro:
2012-03-16 15:30:05
I don’t understand, why there are *that* easy problems on SPOJ… This one is really easy, even using ANSI C… |
|
vj:
2011-08-31 04:47:04
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
|
|
სვანიძე:
2011-05-03 11:00:16
integer :D
|
|
Tong:
2010-10-25 12:00:23
To Sebastian: Try to make standard inputs. Don't use a file.
|
|
Tong:
2010-10-23 02:20:45
I think spoj doesn't compatible with uses crt;
|
|
Reborn In Fire...:
2010-05-08 10:13:07
maybe you are writing it to a file output.txt?? forgive me if i am wrong, i don't know what language this is.. |
|
Sebastian:
2010-04-28 15:50:46
Hi, im new to this, ive written the solution to the problem in turbo pascal but when i submit it it doesnt work, im thinking maybe it has something to do with the reading and writing of the file, could someone take a look at the code and tell me whats wrong? thanks
|
Added by: | Pripoae Toni |
Date: | 2008-09-14 |
Time limit: | 0.405s |
Source limit: | 1024B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ERL JS-RHINO |
Resource: | Original |