What is the best B to use in 3D/4D MO?
What is the best B to use in 3D/4D MO?
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3611 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | Radewoosh | 3415 |
| 8 | Um_nik | 3376 |
| 9 | maroonrk | 3361 |
| 10 | XVIII | 3345 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 164 |
| 2 | adamant | 150 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 144 |
| 5 | errorgorn | 141 |
| 6 | cry | 139 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
| Name |
|---|



The time complexity of k-dimensional Mo's is $$$O(q * B + (n/B)^{k-1}n)$$$ (assuming $$$k$$$ is a constant). Choosing $$$B = O(n / q^{1/k})$$$ gives a time complexity of $$$n \cdot q^{1-1/k}$$$. See https://mirror.codeforces.com/blog/entry/61203?#comment-451304 for more information and proof of the $$$n \cdot q^{1-1/k}$$$ lower bound.
I will blindly assume you only commment on blogs that talk about sqrt decomp
he love sqrt decomp!
i can confirm as a person who kinda knows him online
yoshi likes e4
hnue
If you do 4d mo, just write a quadratic solution with good constant factor, and it will be faster