摘要: #include<stdio.h> #include<iostream> #include<cstdio> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -1 typedef int Status; typede 阅读全文
posted @ 2018-11-12 17:08 北纬37° 阅读(2767) 评论(0) 推荐(0)
摘要: # 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° 阅读(6410) 评论(0) 推荐(0)