The 8th Zhejiang Provincial Collegiate Programming Contest / A - Ordinal Numbers
返回目录 代码:#include#include#include#includeusingnamespacestd;inlineintRint(){intx;scanf("%d",&x);returnx;}intx;voidsolve(){intt=(x/10)%10;if(t==1){printf("%dth/n",x);}else{t=x%10;if(t==1)printf("%dst/n",