Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65137 袁嘉蔓 05求百位数的每一位数之和 C++ Accepted 3 MS 272 KB 142 2024-01-24 10:41:19

Tests(10/10):


Code:

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