2. Add Two Numbers
Foundation1000 ms256 MBSolved by 100%
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
Hints
Four rungs, in order. The last two open once you have submitted an attempt. A wrong one counts.
Hint 1Where to start
Hint 2The approachOpen hint 1 first. This one carries on from it.
Hint 3PseudocodeOpen hint 2 first. This one carries on from it.
Hint 4Full solutionOpen hint 3 first. This one carries on from it.