1. #include<stdio.h> //菜逼到此一游
  2. int main(){
  3. int a,i,j,k;
    
  4. int s[20]={1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
    
  5. while(scanf("%d",&a)!=EOF){
    
  6. 	for(i=0;i<a;i++){
    
  7. 		for(j=0;j<=i;j++){
    
  8. 			printf("%d ",s[j]);
    
  9. 		}
    
  10. 		printf("\n");
    
  11. 	}
    
  12. }
  13. }