| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 161040 | 江俊逸 | 05求百位数的每一位数之和 | C++ | Wrong Answer | 0 MS | 280 KB | 349 | 2026-09-27 14:41:23 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max ()\min() using namespace std; int main(){ int a; cin>>a; int b=a/100; int s=a/10%10; int g=a%10; cout<<b,s,g; return 0; }
------Input------
923
------Answer-----
14
------Your output-----
9