#include <stdio.h>int main(){ int x; scanf("%d",&x); int t; int ret=0;do { t=x%10; ret=ret*10+t; x/=10; }while(x>0); printf("%d",ret);}
逆向排序
原文:https://www.cnblogs.com/xderbyy/p/9483384.html