Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
443189 许清菡 【C2-3】数字和 C++ 通过 100 1 MS 240 KB 146 2026-06-03 20:27:14

Tests(2/2):


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


测评信息: