摘要:
如有错请指正!谢谢! cpp include include using namespace std; template, typename _Comp = less class heap { public: typedef _Comp comparer; typedef _Cont contain 阅读全文
摘要:
```cpp include include include include include using namespace std; int n, m, src, dst, mc[10010], from[10010], fi[10010], mw[10010], ec; struct EDGE 阅读全文
摘要:
```cpp include include include include include using namespace std; int n, m, src, dst, depth[10001], ec; struct EDGE { int to, weight; EDGE() { } EDG 阅读全文
摘要:
```cpp include include using namespace std; struct seg_tree { int l, r; long long v, lazy; } tree[400001]; void build(int k, int l, int r) { tree[k].l 阅读全文