请教一下(fast_pow(m, n) - (m * fast_pow(m - 1, n - 1))%mod) + mod)%mod) 这边为什么要再加上mod之后再取模呢
点赞 3
牛客网
牛客网在线编程
牛客网题解
牛客企业服务