A + B Problem
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
说明
This problem is a little more difficult than the last one.
But I think that it is still very simple for clever you.
In this problem,you will get two integers A and B,and wants you to calculate the answer C,which equals to A add B.
输入格式
Input contains an integer N in the first line, and then N($N \leq 1000$) lines follow. Each line consists of a pair of integers A and B, separated by a space, one pair of integers per line.($ 0\leq A, B\leq 1000$)
输出格式
For each pair of input integers A and B you should output the sum of A and B in one line, and with one line of output for each line in input.
样例
2
1 5
10 20
6
30
提示
评测机判题,输出格式请严格按照样例输出的格式(即Output Samples),不要自作聪明,额外输出其他任何字符!!!!
评测机判题,输出格式请严格按照样例输出的格式(即Output Samples),不要自作聪明,额外输出其他任何字符!!!!
评测机判题,输出格式请严格按照样例输出的格式(即Output Samples),不要自作聪明,额外输出其他任何字符!!!!
重要的事情说三遍!!!(为何我有股不详的预感,感觉还是不够?)
第一届天工杯程序设计比赛赛前测试(A/B)
- 状态
- 已结束
- 规则
- ACM/ICPC
- 题目
- 2
- 开始于
- 2023-11-25 0:00
- 结束于
- 2023-11-26 0:00
- 持续时间
- 24 小时
- 主持人
- 参赛人数
- 172