/* submit1.c 数列の各項を出力 Time-stamp: "2021-04-10 Sat 13:30 JST hig" */ #define _CRT_SECURE_NO_WARNINGS /* Visual C++ に必要な, #include の前に書くおまじない */ #include /* 関数プロトタイプ宣言 */ int r(int t); int main(){ int t,n,tmax,nmax; /* t,n,T,N */ int x; /* x(t) */ scanf("%d",&tmax); scanf("%d",&nmax); printf("#T=%d\n#N=%d\n",tmax,nmax); /* コメント行 */ /* 先頭のタイトル行 */ for(t=0;t<=tmax;t++){ printf("%d,",t); } printf("\n"); /* 意味もなく同じことををN回繰りかえす*/ for(n=0;n