这个代码有啥问题,最后一个是红的。
#include<stdio.h> int main() { long a,b; scanf("%ld",&a); while(a>0){ b=a%10; printf("%ld",b); a/=10; } }