Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65865 邱兴亮 A+B 输入输出练习V C++ Accepted 4 MS 276 KB 243 2024-02-21 15:33:50

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; while(n--){ int m,sum=0; cin>>m; while(m--){ int t; cin>>t; sum+=t; } cout<<sum<<endl; } return 0; }