C语言问题
main(){long num1,num2;
int a,b,c,d,e;
scanf("%ld",&num1);
a=num1/10000;
b=(num1-a*10000)/1000;
c=(num1-a*10000-b*1000)/100;
d=(num1-a*10000-b*1000-c*100)/10;
e=num1%10;
num2=e*10000+d*1000+c*100+b*10+a;
printf("%ld",num2);
}
这个程序哪里错了啊