标签:io 2014 amp sp return print ca include
#include <stdio.h>
int main()
{
int m;
while(scanf("%d",&m)!=EOF)
{
int a1,a2,a3,sum,n;
a1=m%10;
n=(m-a1)/10;
a2=n%10;
a3=m/100;
sum=100*a1+a2*10+a3;
printf("%d\n",sum);
}
return 0;
}
题目550-三位数逆序输出-nyoj20140811,布布扣,bubuko.com
标签:io 2014 amp sp return print ca include
原文地址:http://www.cnblogs.com/xiaziteng/p/3905618.html