mmm 的范围应当是 1≤m≤2×1041\leq m\leq 2\times 10^41≤m≤2×104。
loj题面为 2e4,并且代码测试时加入 assert(m<=20000) 并未出现问题。
assert(m<=20000)
而题目中打成了 2e5。