#include <stdio.h>
#include <string.h>
#define Max 100
int a[Max];
int b[Max];
int main(){
int x,n = 0;
int i;
while(scanf("%d",&x) == 1){ //检测是否正常输出(输出异常,则退出)
a[n++] = x;
}
//进行复制
memcpy(b,a,sizeof(int)*3);
for(i = n-1; i >= 1; i--){
printf("%d",b[i]);
}
printf("%d\n",a[0]);
return 0;
}
网友评论