#include
#include
intmain(){
ints=1,h;
inti,j;
scanf("%d",&h);
printf("1\n");
for(i=2360问答;i<=h;s=1,i++){
printf("1");
for(j=1;j<=i-2;j++)
printf("%d",(s=(i-j)*s/j));
printf("1\n");
}
return0;
}
#include
#include
intmain(){
ints=1,h;
inti,j;
scanf("%d",&h);
printf("1\n");
for(i=2360问答;i<=h;s=1,i++){
printf("1");
for(j=1;j<=i-2;j++)
printf("%d",(s=(i-j)*s/j));
printf("1\n");
}
return0;
}
扫一扫,手机浏览