牛客小白月赛9 A-签到(逆元性质)
题目链接https://ac.nowcoder.com/acm/contest/275/A思路来源https://ac.nowcoder.com/acm/contest/view-submission?submissionId=37485613心得get到了逆元的性质,比如说每次乘以的时候,直接乘以mod意义下的而假设最后求的分数是,即时,此时要求,只需%mod即可...