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
|
||||||
2019-09-20 04:35:13
Why Wrong Ans? |
||||||
2017-11-10 08:42:03
c++ just need to use long long type |
||||||
2017-06-28 10:54:16
Shortest code ever written Python.This comment is larger than the code ..:P |
||||||
2016-07-30 02:22:39
It's very easy problem. My code in C is only 53 bytes :-) |
||||||
2016-03-30 23:45:01 Sveta
AC in third go! Last edit: 2016-03-30 23:45:26 |
||||||
2016-02-26 21:10:35 Bryan Poulsen
21 characters in python. One line. |
||||||
2015-11-03 23:04:05
big lol....hehehe so tough ;p |
||||||
2015-10-26 14:12:31 Nallagatla Manikanta
LOL one line in python XD |
||||||
2015-07-13 04:45:42
use unsigned long long int to the numbers and their sum toooo easy :D green 0.00 s in 1 go :D use while(scanf("%llu",&a)!=EOF) and then scan b in the loop because we dont know when to stop the input :) :p Last edit: 2015-07-13 04:48:01 |
||||||
2015-06-30 21:47:43 ASHUTOSH DWIVEDI
what the hell |