Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
46687 yuzhengxun 求和 C++ 通过 0 MS 252 KB 188 2024-05-05 09:15:00

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int n,s=0; cin>>n; for(int i=1;i<=n;i++){ int a; cin>>a; if(a>=10){ s+=a; } } cout<<s; return 0; }


测评信息: