摘要: 第四次个人赛 D. Santa's Bot 概率+数学题,算出公式即可。注意一定要边乘边取模。然后那个快速幂函数不要忘了。 int ksm(int x, int cnt){ int res=1; x %= mod; while(cnt>0){ if(cnt & 1){ res = res * x % 阅读全文
posted @ 2026-01-24 17:57 Yxxxi 阅读(4) 评论(0) 推荐(0)