/* contrw03.c Time-stamp: "2021-06-07 Mon 11:40 JST hig" */ #define _CRT_SECURE_NO_WARNINGS // おまじない #include #include double getuniform(); int main(){ int t,tmax; int n,nmax; int seed; /* 疑似乱数のシード */ double x; scanf("%d",&seed); scanf("%d",&tmax); scanf("%d",&nmax); printf("#d=%d\n#T=%d\n#N=%d\n",seed,tmax,nmax); srand(seed); /* シードの設定 */ for(t=0;t<=tmax;t++){ /* 時刻のラベルを出力 */ printf("%d,",t); } printf("\n"); for(n=0;n