供参考……#include "stdio.h"//#include "windows.h"//#include "time.h"//#define N 2048void main(void){
int nGroup[N],*ptemp,i,count=0,n;
srand((unsigned)time(0));
for(ptemp=nGroup,i=0;i<N;i++,*ptemp++=rand());
for(ptemp=nGroup,i=0;i<N;i++,ptemp++){
n=*ptemp;
... |