Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
47322 陈怡君 15五位数数字之和 C++ Accepted 1 MS 272 KB 156 2023-04-25 08:37:05

Tests(10/10):


Code:

#include<iostream> using namespace std; int main() { int x; cin>>x; cout<<x/10000+x/1000%10+x/100%10+x/10%10+x%10<<endl; return 0; }