Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
75569 sh25_shenpy 求和 C++ 通过 0 MS 256 KB 255 2025-12-07 20:15:55

Tests(1/1):


#include <bits/stdc++.h> using namespace std; int main( ) { int x,m,n,b,v,c; cin>>x; m=x%10; n=(x-m)/10%10; b=(x-m-n*10)/100%10; v=(x-m-10*n-100*b)/1000%10; c=(x-x%10000)/10000; cout<<m+n+c+v+b; return 0; }


测评信息: