Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102394 王雨豪 05求百位数的每一位数之和 C++ Accepted 1 MS 268 KB 123 2024-12-21 15:33:34

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int N; cin>>N; cout<<(N%10)+(N/10%10)+(N/100); }