列表

详情


NC15902. Hello I am HERE!

描述

There are many difficulties in today's contest, but this is definitely not one of them.
Because I want you to do it, the classic A+B.

输入描述

First line an Integer N means n test cases.
Next 2N lines representing 2N groups of different Integers.
N<50.
THE LENGTH of every Integer will less than 5000.
All Integers will be greater than 0.
Some cases may have leading zero.

输出描述

One line for each test cases reprecenting the answer of A+B.
Do not putout leading zero

示例1

输入:

1
100000000000000
100000000000000

输出:

200000000000000

原站题解

上次编辑到这里,代码来自缓存 点击恢复默认模板

Python3 解法, 执行用时: 40ms, 内存消耗: 4804K, 提交时间: 2021-12-14 00:05:12

[print(int(input())+int(input()))for _ in range(int(input()))]

上一题