| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65145 | 欧阳槊远 | 05求百位数的每一位数之和 | C++ | Accepted | 2 MS | 264 KB | 161 | 2024-01-24 10:48:16 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; scanf("%d",&n); int c=(n/100)%10+(n/10)%10+n%10; printf("%d",c); return 0; }