(;;)シクシク
sage進行でやらせてください。。。
#include <iostream>

int main(){
char box[100];
char reverse[100];
std::cin >> box;
std::cout<<box<<std::endl;
int x=0;
while(box[x]!=NULL){
x++;
}
for(int i=0;i<x;i++){
reverse[i]=box[x-i-1];
reverse[i+1]=NULL;
}
std::cout<<reverse<<std::endl;
return 0;
}
ワーイ!デケター