2. Add Two Numbers
Foundation1000 ms256 MBSolved by 0%
Read two integers from one line, separated by a space, and print their sum.
Constraints - `-1000000000 ≤ a, b ≤ 1000000000`
Input
A single line containing two integers, separated by a space.
Output
Print one integer — the sum of the two values.
Input3 5
Output8
Noteadds two small positive numbers
Input-4 9
Output5
Notemixes a negative and a positive value
Hint 1Approach
Hint 2Approach
Hint 3Pseudocode
Hint 4Full solution