A. Adding Two Integers
A. Adding Two Integers
time limit per test
1 second
memory limit per test
64 megabytes
input
standard input
output
standard output
Given two integers (a and b), get their sum:
Input
There will be one line with two integers given, a and b, separated by spaces.
Output
You should return the integer sum of a and b, sum.
Examples
input
Copy
5 9
output
Copy
14
input
Copy
50 -26
output
Copy
24
Note
Constraints:
- 1, 000, 000, 000 ≤ a ≤ 1, 000, 000, 000
- 1, 000, 000, 000 ≤ b ≤ 1, 000, 000, 000
- 2, 000, 000, 000 ≤ sum ≤ 2, 000, 000, 000
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x,y=list(map(int,input().split())) | |
print(x+y) |
Comments
Post a Comment
Please give us your valuable feedback