Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
42356 陈栋 15五位数数字之和 C++ Accepted 2 MS 272 KB 148 2022-11-18 19:45:03

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ long long n; cin>>n; cout<<n/10000+n/1000%10+n/100%10+n/10%10+n%10; return 0; }