@[stone_juice石汁](/space/show?uid=133426) 改了应该不影响运行的吧……您原来的写法可能会炸队列空间……
by _Life_ @ 2019-04-14 11:05:31
@[自来也](/space/show?uid=87434)
女子口巴
那我试试邻接链表
by stone_juice石汁 @ 2019-04-14 11:06:29
@[stone_juice石汁](/space/show?uid=133426) 在您的代码中,元素会重复入队,queue实际占用的空间是入队次数,开到MAXN是不够的(雾
by _Life_ @ 2019-04-14 11:07:11
@[stone_juice石汁](/space/show?uid=133426) 我是指吧第四行改为`queue<int>q;`
by _Life_ @ 2019-04-14 11:07:52
@[stone_juice石汁](/space/show?uid=133426) 还有函数尽量不要用下划线开头,只能帮到这了(逃
by _Life_ @ 2019-04-14 11:10:04
@[自来也](/space/show?uid=87434) QWQ没事没事,其实DALAO已经帮了我很多了
by stone_juice石汁 @ 2019-04-14 11:12:28
@[stone_juice石汁](/space/show?uid=133426) 能把题目发一下吗
by _Life_ @ 2019-04-14 11:14:36
van了
我链表也写炸了
一样RE QAQ
by stone_juice石汁 @ 2019-04-14 11:14:56
@[自来也](/space/show?uid=87434) [here](https://www.luogu.org/problemnew/show/P3243)
by stone_juice石汁 @ 2019-04-14 11:15:40
其实就是拓扑跑反图
不难但是就是很迷...
by stone_juice石汁 @ 2019-04-14 11:16:23