Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
337673 陈信宇 【C2-3】数字和 C++ 通过 100 1 MS 256 KB 151 2025-08-04 12:14:25

Tests(2/2):


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


测评信息: