Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4453 李宇轩 A+B 输入输出练习V C++ Accepted 2 MS 264 KB 229 2024-08-18 17:19:15

Tests(1/1):


Code:

#include <iostream> using namespace std; int main(){ int i,k,q; cin>>i; while(i--){ int s=0; cin>>k; for(int j=0;j<k;j++){ cin>>q; s+=q; } cout<<s<<endl; } }