Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
329931 陈信宇 【C1-5】计算各位和 C++ 通过 100 1 MS 252 KB 204 2025-07-08 16:18:20

Tests(2/2):


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


测评信息: