Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1617 王兮 倒序输出一个四位整数 C++ Compile Error 0 0 MS 0 KB 212 2019-10-15 20:26:08

Tests(0/0):


include<iostream> int main(){ // #char a,b,c,d; // scanf("%c%c%c%c",&a,&b,&c,&d); // printf("%c%c%c%c",d,c,b,a); int a; scanf("%d",&a); while(a>0){ printf("%d",a%10); a=a/10; } return 0; }


Judgement Protocol: