题解 | #高精度整数加法#

高精度整数加法

http://www.nowcoder.com/practice/49e772ab08994a96980f9618892e55b6

while True:
    try:
        n1 = int(input())
        n2 = int(input())
    except:
        break
    print(n1+n2)

全部评论
int表示的范围有限,字符串过长可能导致溢出
1 回复 分享
发布于 2022-12-26 14:09 广西

相关推荐

04-15 09:59
门头沟学院 C++
yy_11:小公司人家没必要泄密,大公司都是本地部署了
你想吐槽公司的哪些规定
点赞 评论 收藏
分享
评论
3
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务