472. Add Strings
EasyMath
Print the sum of two non-negative integers given as strings, without converting them to built-in big integers.
Input format
Line 1: num1 Line 2: num2
Output format
The sum.
Example 1
Input
11 123
Output
134
Example 2
Input
456 77
Output
533
Constraints
1 ≤ lengths ≤ 10⁴
Read input from standard input and print the answer to standard output. Your code is judged against 4 test cases, most of them hidden.
Loading the MyLoginn IDE…