预处理 `lg` 只处理了 2~n 的,没有处理 n+1~m 的。如果 m 比 n 大就有可能会挂。
把 22 行的 n 改成 max(n,m) 就行了。
by Rushroom @ 2022-11-06 09:29:53
@[Rushroom](/user/407564) 谢谢!
by DarkDragon_h @ 2022-11-07 16:34:32