模拟与高精度——A+B Problem(高精)
题目描述
高精度加法,相当于a+b problem,不用考虑负数。
输入格式
分两行输入。a,b <= 10^500
输出格式
输出只有一行,代表 a + b 的值
输入输出样例
输入样例
1
1
输出样例
2
这题用 python 写就很容易了。
a = int(input())
b = int(input())
print(a+b)
高精度加法,相当于a+b problem,不用考虑负数。
分两行输入。a,b <= 10^500
输出只有一行,代表 a + b 的值
1
1
2
这题用 python 写就很容易了。
a = int(input())
b = int(input())
print(a+b)