Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
73 李言 倒序输出一个四位整数 C++ Accepted 100 0 MS 252 KB 193 2019-09-16 21:01:28

Tests(9/9):


#include<iostream> int main(){ int a,b,c,d,e; scanf("%d",&a); b=a/1000; c=(a-1000*b)/100; d=(a-1000*b-100*c)/10; e=a-1000*b-100*c-10*d; printf("%d%d%d%d",e,d,c,b); return 0; }


Judgement Protocol: