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

Tests(9/9):


#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: