Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
128358 江婉儿 Tom数 C++ 解答错误 33 0 MS 244 KB 141 2024-01-25 17:01:29

Tests(1/3):


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


测评信息: