| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 89800 | sh25_shengmy | 求和 | C++ | Accepted | 0 MS | 244 KB | 180 | 2026-06-05 14:51:54 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; int s=0; while(n){ s+=n%10; n/=10; } cout<<s; return 0; }