Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
46972 | ☩Deutschland☩ | 求和 | C++ | Accepted | 0 MS | 256 KB | 192 | 2024-05-09 21:19:13 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,sum=0; cin>>n; for(int i=0;i<n;i++){ int m; cin>>m; if(m>=10){ sum+=m; } } cout<<sum; return 0; }