摘要:
Sol 树剖板子。 #include <bits/stdc++.h> #define x first #define y second #define pb push_back #define pf push_front #define desktop "C:\\Users\\incra\\Desk 阅读全文
posted @ 2025-07-21 23:00
incra
阅读(5)
评论(0)
推荐(0)
摘要:
Sol 启发式合并过了/hanx 考虑每次把小的暴力合并到大的上面,复杂度 \(O(n\log^2 n)\)。 Code #include <bits/stdc++.h> #include <ext/pb_ds/priority_queue.hpp> #define x first #define 阅读全文
posted @ 2025-07-21 22:50
incra
阅读(8)
评论(0)
推荐(0)

浙公网安备 33010602011771号