摘要: 如有错请指正!谢谢! cpp include include using namespace std; template, typename _Comp = less class heap { public: typedef _Comp comparer; typedef _Cont contain 阅读全文
posted @ 2018-07-17 21:26 Js2xxx 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 总元素个数不超过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 阅读全文
posted @ 2018-07-17 19:10 Js2xxx 阅读(150) 评论(0) 推荐(0) 编辑