展开全部#generate the original data x(1:100) define bootstrap replicates number b boot() for(i in 1:b) { boot[i](sample(x,size=length(x),replace=t)) } the variance of bootstrap sample mean var(boot) i hop...
include int main() { int none,ntwo,nfive;int count=0;for(nfive=0;nfive;nfive){ for(ntwo=0;ntwo;ntwo){ none=60-ntwo-nfive;if(100=(nfive*5+ntwo*2+none)){ count;printf("第%d种:%d个五分,%d个两分,%d个1分\n",count,nf...