随笔分类 -  数学--逆元

摘要:传送门解题思路板子题,第一问快速幂,第二问求逆元,第三问bsgs代码#include#include#include#include#includeusing namespace std;typedef long long LL;int y,z,p,T,k;... 阅读全文
posted @ 2018-08-22 17:53 Monster_Qi 阅读(135) 评论(0) 推荐(0)
摘要:乘法逆元定义若ax≡1modp" role="presentation" style="position: relative;">ax≡1modpax≡1modp,则称x" role="presentation" style="position... 阅读全文
posted @ 2018-04-14 08:29 Monster_Qi 阅读(166) 评论(0) 推荐(0)
摘要:乘法逆元定义若ax≡1modp" role="presentation" style="position: relative;">ax≡1modpax≡1modp,则称x" role="presentation" style="position... 阅读全文
posted @ 2018-04-14 08:29 Monster_Qi 阅读(166) 评论(0) 推荐(0)