題目 1092:
A+B for Input-Output Practice
時間限制: 2s
內(nèi)存限制: 128MB 提交: 9214 解決: 6354
題目描述
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、百練、藍橋杯輔導(dǎo)、算法數(shù)據(jù)結(jié)構(gòu)等課程,提供視頻講解以及配套習(xí)題,還有老師答疑,
點擊這里了解課程詳情