#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
时间: 2024-12-28 09:45:29