1088 問題 E: A+B for Input-Output Practice (IV)
時間限制: 1s
內(nèi)存限制: 64MB 提交: 13977 解決: 7980
題目描述
Your task is to Calculate the sum of some integers.
輸入
Input contains multiple test cases. Each test case contains a integer N, and then N integers follow in the same line. A test case starting with 0 terminates the input and this test case is not to be processed.
輸出
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.
提示
零基礎(chǔ)同學(xué)可以先學(xué)習(xí)
視頻課程,包含C/C++、Python、百練、藍橋杯輔導(dǎo)、算法數(shù)據(jù)結(jié)構(gòu)等課程,提供視頻講解以及配套習(xí)題,還有老師答疑,
點擊這里了解課程詳情