ADUN - Adding two numbers

no tags 

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


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


Output the sum of the two numbers.




hide comments
jackyhui: 2019-09-20 04:35:13

Why Wrong Ans?

phunghuukien: 2017-11-10 08:42:03

c++ just need to use long long type

sas1905: 2017-06-28 10:54:16

Shortest code ever written Python.This comment is larger than the code ..:P

square1001: 2016-07-30 02:22:39

It's very easy problem. My code in C is only 53 bytes :-)

Sveta: 2016-03-30 23:45:01

AC in third go!

Last edit: 2016-03-30 23:45:26
Bryan Poulsen: 2016-02-26 21:10:35

21 characters in python. One line.

darshil1771: 2015-11-03 23:04:05

big lol....hehehe so tough ;p

Nallagatla Manikanta: 2015-10-26 14:12:31

LOL one line in python XD

karthik1997: 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
ASHUTOSH DWIVEDI: 2015-06-30 21:47:43

what the hell

Added by:Pripoae Toni
Time limit:0.405s
Source limit:1024B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ERL JS-RHINO