随笔分类 -  技巧-快速幂

摘要:BSGS,逆元,快速幂 阅读全文
posted @ 2018-09-11 15:00 露迭月 阅读(320) 评论(0) 推荐(0)
摘要:扩展欧拉定理,快速幂 阅读全文
posted @ 2018-09-07 11:06 露迭月 阅读(188) 评论(0) 推荐(0)
摘要:lucas,CRT合并,逆元,快速幂 阅读全文
posted @ 2018-08-26 19:25 露迭月 阅读(281) 评论(0) 推荐(0)
摘要:打表,快速幂 阅读全文
posted @ 2018-08-15 16:41 露迭月 阅读(267) 评论(1) 推荐(0)
摘要:矩阵快速幂 给定n n的矩阵A,求A^k Code: include include define ll long long const ll N=102; const ll mod=1e9+7; ll k;int n; struct matrix { ll dx[N][N]; matrix() { 阅读全文
posted @ 2018-07-02 08:52 露迭月 阅读(158) 评论(0) 推荐(0)