| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 85795 | sh25_wuyy | 求和 | C++ | Accepted | 0 MS | 256 KB | 253 | 2026-03-15 17:58:41 |
#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; }