| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 336234 | 小林老师 | 【C4-1】求和(小明存钱) | C++ | Accepted | 100 | 2 MS | 240 KB | 215 | 2025-07-25 21:45:45 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[13]; int n, sum=0; cin>>n; for(int i=1; i<=n; i++){ cin>>a[i]; } for(int i=1; i<=n; i++){ sum+=a[i]; } cout<<sum; return 0; }