Problem 1
Add Two Numbers
Easy · 10 pts · Math
Problem
You are given two integers A and B. Print their sum A + B. The numbers can be negative, and each can be as large as one billion in absolute value, so the sum can reach two billion in absolute value. That still fits in a 32-bit signed integer, whose limit is 2,147,483,647, but only just, so it is a good habit to use a 64-bit type (long long in C++, long in Java) for sums like this.
Input
Two integers A and B separated by a space.
Output
Print the sum of A and B.
Constraints
-1000000000 <= A, B <= 1000000000
Example input
5 7
Example output
12
Explanation
The input is 5 and 7. Adding them gives 5 + 7 = 12, so the program prints 12.