队列数组海星……
by first_fan @ 2019-04-14 10:46:31
@[stone_juice石汁](/space/show?uid=133426) 到[洛谷IDE](https://www.luogu.org/ide)去试试吧
by _Life_ @ 2019-04-14 10:47:34
@[自来也](/space/show?uid=87434)
试过了,一样RE
问题是本机没问题
by stone_juice石汁 @ 2019-04-14 10:48:36
@[stone_juice石汁](/space/show?uid=133426) 那说明是系统的锅
by _Life_ @ 2019-04-14 10:52:53
@[stone_juice石汁](/space/show?uid=133426) 洛谷测评机和IDE都是Linux系统的
by _Life_ @ 2019-04-14 10:53:31
@[stone_juice石汁](/space/show?uid=133426) 而您的系统是Windows的
by _Life_ @ 2019-04-14 10:54:03
@[stone_juice石汁](/space/show?uid=133426) 您的queue写法好像有点奇怪
by _Life_ @ 2019-04-14 10:55:04
@[stone_juice石汁](/space/show?uid=133426) 第四行可以改为`queue<int>q;`试试
by _Life_ @ 2019-04-14 10:55:49
@[自来也](/space/show?uid=87434)
这个改不了啊。这个东西纵横我代码各处。。。改了就等于重写了。。。
其实就是把这个当成邻接表来用了。。。
~~其实就是不想写邻接链表~~
by stone_juice石汁 @ 2019-04-14 10:59:52
@[stone_juice石汁](/space/show?uid=133426) 关键是queue好像不是这样用的啊(雾
by _Life_ @ 2019-04-14 11:04:10