摘要: #include<stdio.h>#include<stdlib.h>#include<conio.h>#include<time.h>#include<math.h>int aa[8][8]={0},b[6]={0};void Produce()//随机产生{ int i,j,h=1; srand(time(NULL)); for(i=1;i<6;i++) for(j=1;j<7;j++) { aa[i][j]=1+rand()%6; b[aa[i][j]-1]++; } f... 阅读全文
posted @ 2011-12-03 20:08 rui_gao 阅读(495) 评论(0) 推荐(0) 编辑