| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 426 | 梅煦洋 | 倒序输出一个四位整数 | C++ | Wrong Answer | 11 | 0 MS | 252 KB | 222 | 2019-09-19 20:21:32 |
#include<iostream> int main(){ int x,b,c,d,e,t,q,w,r; scanf("%d",&x); q=x%1000; w=q%100; r=w%10; b=(x-q)/1000; c=(q-w)/100; d=(w-r)/10; e=r/1; t=e*1000+d*100+c*10+b*1; printf("%d",t); return 0; }