27楼的!!!!你也太不负责了吧!!!!你那玩意儿无法输出!!!
偶来搞个~~
#include <stdio.h>
#include <iostream.h>
main()
{
int n,k,i,m,look;
cin>>n;
int s[100]={1};
for(m=1;m<=n;++m)
{
k=m;
for(;k<n;++k)printf(" ");
for(i=(n-1);i>0;--i)s[i]=(s[i]+s[(i-1)]);
for(i=0;i<n;++i)if(s[i]!=0)printf("%d ",s[i]);
printf("\n");
}
cin>>look;
}