\(1 \le n,m \le 300000\)
考虑设\(dp_x\)为\(x\)到\(n\)的最小硬币期望值。
P4745 [CERC2017]Gambling Guide
原文:https://www.cnblogs.com/luyiming123blog/p/15146332.html