Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
123006 杨舒涵 数字求和 C++ Accepted 100 0 MS 252 KB 146 2024-01-22 17:05:39

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; cout<<b+c+d; return 0; }


Judgement Protocol: