mirror of
https://github.com/CodePanda66/CSPostgraduate-408.git
synced 2023-05-21 21:49:33 +08:00
🏷️ Add QueueApplication
This commit is contained in:
@@ -11,6 +11,7 @@ typedef struct {
|
||||
int top;
|
||||
} SqStack;
|
||||
|
||||
|
||||
//初始化
|
||||
void InitStack(SqStack &S) {
|
||||
S.top = -1;//这种初始化的方式,栈顶指针始终指向栈顶元素
|
||||
|
||||
Reference in New Issue
Block a user