| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69287 | 尚雨钒 | 05求百位数的每一位数之和 | C++ | Accepted | 1 MS | 280 KB | 164 | 2024-03-31 14:38:18 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; int g=n%10; int s=n/10%10; int b=n/100%10; cout<<g+s+b; return 0; }