会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
superPG
博客园
首页
新随笔
联系
订阅
管理
2022年7月20日
AcWing 2022.7.20
摘要: 链表模拟 + 队列模拟 可以用队列模拟,维护未弹出的数据和顺序。 也可以直接按题目要求维护循环队列,只需要单链表就够了。 队列: #include <bits/stdc++.h> using namespace std; const int N = 60; int T; int n; int ne[
阅读全文
posted @ 2022-07-20 14:58 superPG
阅读(25)
评论(0)
推荐(0)
编辑
公告