摘要: # include <stdio.h> #define MAXLEN 20 int front=MAXLEN-1;//队列初始化 int rear=MAXLEN-1; enqueue(int q[],int x) //入队 { rear=(rear+1)%MAXLEN; q[rear]=x; } i 阅读全文
posted @ 2018-10-17 21:56 北纬37° 阅读(6411) 评论(0) 推荐(0)