/* contrw03.c Time-stamp: "2020-06-10 Wed 16:10 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