自己作的,很久没用c了,不知道是否正确。main(){inta,b,c,d;longintn;scanf("%ld",&n);a=n/10000;b=(n%10000)/1000;c=(n%100)/10;d=n%10;if(a==d&&b==c)printf("this%ldisahuiwen\n",n);elseprintf("this%ldisnotahuiwen\n",n);}