| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 27845 | 邵子杰 | 15五位数数字之和 | C++ | Accepted | 2 MS | 732 KB | 204 | 2022-06-12 10:15:24 |
#include <iostream> #include <cstdio> using namespace std; int a[100]={}; int main() { int n,x; cin>>x; n = x/10000+x/1000%10+x/100%10+x/10%10+x%10; cout<<n<<endl; return 0; }