Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
20934 邱修齐 求两位整数各个位上的数字和 C++ Accepted 100 0 MS 244 KB 148 2021-06-22 20:10:16

Tests(5/5):


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


Judgement Protocol: