Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130416 李昱龙 05求百位数的每一位数之和 C++ Accepted 2 MS 276 KB 144 2025-09-13 14:40:54

Tests(10/10):


Code:

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