1092 問題 I: A+B for Input-Output Practice
時(shí)間限制: 1s
內(nèi)存限制: 64MB 提交: 9222 解決: 6360
題目描述
Your task is to calculate the sum of some integers
輸入
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
輸出
For each group of input integers you should output their sum in one line, and you must note that there is a blank line between outputs.
樣例輸入
3
4 1 2 3 4
5 1 2 3 4 5
3 1 2 3
提示
零基礎(chǔ)同學(xué)可以先學(xué)習(xí)
視頻課程,包含C/C++、Python、百練、藍(lán)橋杯輔導(dǎo)、算法數(shù)據(jù)結(jié)構(gòu)等課程,提供視頻講解以及配套習(xí)題,還有老師答疑,
點(diǎn)擊這里了解課程詳情