A+B for Input-Output Practice (V)

博主在寒假期间开始复习编程题目,意识到记录解题过程的重要性。本文回顾了一道入门级的A+B问题,旨在梳理思路并分享解题经验。
摘要由CSDN通过智能技术生成

   寒假了,弱鸡也要开始做题了,其实自己做过的题目不少,但都没留下什么wp。原本觉得没什么,但时间一长,发现自己很多题目都记不清了,这与没做已经没什么区别了,所以决定从今天起把做过的和新题目都回顾一遍。

   这是一道我入门时做的题目,先审题

Problem Description
Your task is to calculate the sum of some integers.
 

Input
Input contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M integers follow in the same line.
 

Output
For each group of input integers you should output their sum in one line, and with one line of output for each line in input.
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值