Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
441844 李铭泽 【C1-5】计算各位和 C++ 解答错误 0 1 MS 236 KB 144 2026-05-23 21:18:27

Tests(0/2):


#include<bits/stdc++.h> using namespace std; int main(){ int n,s; cin>>n; while(n){ s+=n%10; n/=10; } cout<<s; return 0; }


测评信息: