摘要: 逆元 1. void exgcd (LL a, LL b, LL &x, LL &y) { if (b == 0) { ... 阅读全文
posted @ 2020-11-02 14:05 C2022lihan 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 扩展欧几里得 1. void exgcd (long long a, long long b, long long &x, long... 阅读全文
posted @ 2020-11-02 13:53 C2022lihan 阅读(24) 评论(0) 推荐(0) 编辑