include<stdio.h>int main(){int n;printf("输入行数:");while(scanf("%d",&n)!=EOF){int a[31][31];int i,j,k;for(i=1;i<=30;i++)a[i][1]=a[i][i]=1;if(n==1)printf("1\n");if(n>=2)printf("1\n1 1\n");for(i=3;i<=n;i++){printf("1 ");for(...