Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
123562 杨涵雅 数字求和 C++ Accepted 100 0 MS 248 KB 149 2024-01-23 08:36:41

Tests(2/2):


#include<iostream> using namespace std; int main(){ int a,b,c,d; cin>>a; b=a%10; c=a/10%10; d=a/100; cout<<d+c+b<<endl; return 0; }


Judgement Protocol: