Sum of Two Numbers — Solution & Editorial
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). 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).