1092 問題 U: A+B for Input-Output Practice
時間限制: 1s
內(nèi)存限制: 64MB 提交: 9220 解決: 6359
題目描述
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
提示
零基礎同學可以先學習
視頻課程,包含C/C++、Python、百練、藍橋杯輔導、算法數(shù)據(jù)結構等課程,提供視頻講解以及配套習題,還有老師答疑,
點擊這里了解課程詳情