Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
535 | 张弛 | 倒序输出一个四位整数 | C++ | Wrong Answer | 11 | 0 MS | 256 KB | 215 | 2019-09-20 22:05:25 |
#include<iostream> int main(){ int a,b,c,d,e,f; scanf("%d",&a); b=a/1000; c=a/100%10*10; d=a/10%100%10*100; e=a%1000%100%10*1000; f=b+c+d+e; printf("%d",f); return 0; }