摘要: int power(int a, int n) { int tp = 1; while (n) { if (n & 1) tp = 1ll * tp * a % mod; a = 1ll * a * a % mod, n >>= 1; } return tp; } 阅读全文
posted @ 2023-09-30 16:30 Codaaaa 阅读(13) 评论(0) 推荐(0)