Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
123691 emm 数字求和 C++ Accepted 100 0 MS 248 KB 179 2024-01-23 08:58:19

Tests(2/2):


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


Judgement Protocol: