Online Programming Server

Login

Login with facebook [?]

Facebook

Problem 1003: a + b

Problem ID 1003
Title a + b
pdf  
Description

 A + B Problem

Given 2 integers a and b, calculate a + b.

Input

integer A and B on each line separated by one space

0 ≤ A < 232

0 ≤ B < 232

Output

 integer (A + B) on each line

Sample Input
1 2
3 4
Sample Output
3
7
Hint
Note that he upper bound of A and B is 232 - 1, which is 4294967295.
Last Modified 2013-01-14 12:30:32
Time Limit 2 seconds
Memory Limit 2 MB
Accepted Solutions 565
Submitted Solutions 620
Difficulty Factor 231