Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
329923 陈信宇 【C1-5】计算各位和 C++ 解答错误 0 1 MS 248 KB 160 2025-07-08 16:15:49

Tests(0/2):


#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,d,e; cin>>a; while(a>0){ b+=a/1%10; a/=10; } cout<<b; return 0; }


测评信息: