有个地方不会打

P2168 [NOI2015] 荷马史诗

@[星灵王stark](/space/show?uid=38031) ``` struct node{ int a,b,...; bool operator <(const node&b)const{ return a<b.a; } }; ```
by Fuko_Ibuki @ 2018-03-15 21:11:52


接下来直接调用 ```cpp priority_queue<node> q; ``` 就可以了.
by Fuko_Ibuki @ 2018-03-15 21:13:52


@[Fuko_Ibuki](/space/show?uid=49371) 知道了,谢谢
by 星灵王 @ 2018-03-16 12:49:26


|