摘要:
如有错请指正!谢谢! cpp include include using namespace std; template, typename _Comp = less class heap { public: typedef _Comp comparer; typedef _Cont contain 阅读全文
摘要:
总元素个数不超过K cpp constexpr int K = 100000; struct L { int v; L nxt, prv; } dt[K], mem[K]; int mc; void init() { for(int i = 1; i 阅读全文