Problems > Sum of Two Numbers > Editorial

Sum of Two Numbers — Solution & Editorial

Back to the Problem

Read the two integers and print their sum. In Python:

a, b = map(int, input().split())
print(a + b)
Careful with 32-bit overflow in C/C++: the sum fits in a 64-bit integer (long long).