Logo C++ Online Judge

C++

时间限制:1 s 空间限制:128 MB
TA:
统计

Description

Existing integer types often have a limited data range, for example, unsigned_int8 corresponds to a maximum value of 255.

Now you are asked to implement a high-precision addition of very large numbers, requiring inputs A,B and outputs A+B.

Hint: You can refer to the vertical formula and the essence of the addition operation (列竖式、从低至高逐位运算)

Input Sample
10010000000001
90990000000001

Output Sample
101000000000002
Constraint

$ 1 \leq A \leq 10^{25} $, $ 1 \leq B \leq 10^{25}$