Submit | All submissions | Best solutions | Back to list |
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
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 |
hide comments
|
||||||
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 |
||||||
2010-10-25 12:00:23 Tong
To Sebastian: Try to make standard inputs. Don't use a file. I mean you type the question, and then press enter. |
||||||
2010-10-23 02:20:45 Tong
I think spoj doesn't compatible with uses crt; Try to delete it. |
||||||
2010-05-08 10:13:07 Reborn In Fire...
maybe you are writing it to a file output.txt?? forgive me if i am wrong, i don't know what language this is.. |
||||||
2010-04-28 15:50:46 Sebastian
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 [code was here] Edit by kokosek: Read point 1! Last edit: 2011-05-03 11:04:22 |