Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133675 万明宇 05求百位数的每一位数之和 C++ Accepted 2 MS 272 KB 157 2025-10-20 16:53:30

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int x,a,b,c; cin>>x; a=x%10; b=(x/10)%10; c=x/100; cout<<a+b+c; }