上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 45 下一页
摘要: 视频链接:G26 求组合数 快速幂_哔哩哔哩_bilibili #include <iostream> using namespace std; typedef long long LL; const int N=100010,P=1e9+7; int q,n,m; LL f[N],g[N]; LL 阅读全文
posted @ 2022-10-08 20:16 董晓 阅读(564) 评论(0) 推荐(1) 编辑
摘要: 视频链接:https://www.bilibili.com/video/BV1BG41177Ff/ #include <iostream> using namespace std; const int N=2010, P=1e9+7; int C[N][N]; void init(){ for(in 阅读全文
posted @ 2022-10-07 21:31 董晓 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 视频链接:G24 矩阵求逆 高斯约旦消元法_哔哩哔哩_bilibili Luogu P4783 【模板】矩阵求逆 #include<iostream> #include<cstdio> #include<cmath> #define LL long long using namespace std; 阅读全文
posted @ 2022-10-05 21:34 董晓 阅读(457) 评论(0) 推荐(1) 编辑
摘要: 视频链接:G23 线性方程组 高斯消元法_哔哩哔哩_bilibili Luogu P3389 【模板】高斯消元法 #include <iostream> #include <algorithm> #include <cmath> using namespace std; const int N = 阅读全文
posted @ 2022-10-05 21:31 董晓 阅读(708) 评论(2) 推荐(4) 编辑
摘要: 视频链接:https://www.bilibili.com/video/BV1GR4y1X7Mc/ Luogu P4195 【模板】扩展 BSGS/exBSGS #include <iostream> #include <cstring> #include <algorithm> #include 阅读全文
posted @ 2022-10-05 21:29 董晓 阅读(312) 评论(1) 推荐(1) 编辑
摘要: 视频链接:https://www.bilibili.com/video/BV1xd4y1175R/ Luogu P3846 [TJOI2007] 可爱的质数/【模板】BSGS #include <iostream> #include <cstring> #include <algorithm> #i 阅读全文
posted @ 2022-10-02 10:34 董晓 阅读(513) 评论(1) 推荐(0) 编辑
摘要: 视频链接:https://www.bilibili.com/video/BV1Ut4y1F7HG/ Luogu P4777 【模板】扩展中国剩余定理(EXCRT) #include <iostream> #include <cstring> #include <algorithm> using na 阅读全文
posted @ 2022-09-30 09:32 董晓 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 视频链接:https://www.bilibili.com/video/BV1AN4y1N7Su/ Luogu P1495 【模板】中国剩余定理(CRT)/ 曹冲养猪 #include <iostream> #include <cstring> #include <algorithm> using 阅读全文
posted @ 2022-09-28 18:42 董晓 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 视频链接:https://www.bilibili.com/video/BV1mg411a7o2/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; int exgcd(int a,int 阅读全文
posted @ 2022-09-27 10:47 董晓 阅读(677) 评论(0) 推荐(0) 编辑
摘要: 视频链接:https://www.bilibili.com/video/BV1rD4y1C7qg/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; int exgcd(int a,int 阅读全文
posted @ 2022-09-26 21:26 董晓 阅读(658) 评论(1) 推荐(1) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 45 下一页