rt,关于官方英文题解中:
there are at most H(H+1)W(W+1)4\frac{H(H+1)W(W+1)}{4}4H(H+1)W(W+1) possible numbers of strawberries on a piece.
为什么每一块最多有 H(H+1)W(W+1)4\frac{H(H+1)W(W+1)}{4}4H(H+1)W(W+1) 个草莓。
以及:
For N=6N=6N=6, this exceeds 101010^{10}1010, but the constant factor is small enough, so it is sufficiently fast.
这常数要多小才能跑过 1e10……