请教一下(fast_pow(m, n) - (m * fast_pow(m - 1, n - 1))%mod) + mod)%mod) 这边为什么要再加上mod之后再取模呢
点赞 3

相关推荐

点赞 评论 收藏
转发
牛客网
牛客企业服务