8 GridQueue::GridQueue( ) {
29 for (
int i = eles - 1 ; i > 0 ; i -- )
35 for (
int j = 0 ; j < i ; j ++ )
41 else if ( e1->
score == e2->
score && rand() < RAND_MAX / 2)
int popQueue(int &xx, int &yy, int &zz)
void pushQueue(int xx, int yy, int zz)
void swapEle(gridQueueEle *pre, gridQueueEle *e1, gridQueueEle *e2)