A过的代码!
#include
#include "math.h"
#include
#include
using namespace std;
int main()
{
char c;
int n,ca=0;
while(cin>>c>>n)
{
if(c=='@')
break;
if(ca==0)
ca=1;
else
puts("");
if(n==1)
{
printf("%c\n",c);
continue;
}
for(int i=0;i
cout<<" ";
}
cout<
int m=n-1;
for(int i=0;i
for(int j=0;j
cout<<" ";
}
cout<
cout<<" ";
}
cout<
t+=2;
}
for(int i=0;i<2*n-1;i++)
{
cout<
cout<
return 1;
}