-
毎回脳がバグる
-
嘘解法の提出 : (218622)
しゃくとり法を凸包の頂点の時計回りと反時計回りで $2$ 回行うと通りました。hack_uso_caliper と同じようなケースで、最遠の点のペアを軸として、各点に対して軸で対称の座標に点を追加すると落とせました。
```
8
40 880
350 80
450 130
750 300
315 164
940 770
897 663…
-
2分探索?
-
## Sample
- [x] A + B https://github.com/habara-k/ICPCLibrary/pull/33
- [x] Many A + B https://github.com/habara-k/ICPCLibrary/pull/33
-
Predecessor Problem
https://judge.yosupo.jp/problem/predecessor_problem
-
- [x] 右に90度回転
- [x] 左に90度回転
- [x] 転置
- [ ] 反転
- [ ] 列と列のswap
-
judgeで4秒かかってる
https://judge.yosupo.jp/submission/162959
早い人の提出だと70msくらい
-
https://ei1333.github.io/library/structure/lct/link-cut-tree-subtree.hpp
https://ei1333.github.io/library/test/verify/yosupo-dynamic-tree-vertex-add-subtree-sum.test.cpp
-
https://judge.yosupo.jp/help
https://judge.yosupo.jp/submissions/?problem=common_interval_decomposition_tree&user=&status=&lang=&order=%2Btime&page=0&pagesize=100
-
Hi
Here is "lazier" sparse table prototype. It is roughly the same speed as the eager iterative one when O2 or O3 is turned on according to my not-so-exhaustive testing.
```c++
template
struct…