水水题 放松心情
今日废话小日记:文档好多 总是写不完
#include <stdio.h>
#include <string>
#include <string.h>
using namespace std;
int main(){
string str;
str.resize(85);
scanf("%s",&str[0]);
int len=strlen(str.c_str());
int vertical=(len+2)/3;
for(int i=0;i<vertical;i++){
if(i==vertical-1){
printf("%s",str.substr(vertical-1,len-2*vertical+2).c_str());
}else{
printf("%c",str[i]);
for(int j=0;j<len-2*vertical;j++)printf(" ");
printf("%c\n",str[len-1-i]);
}
}
}