摘要:
视频链接: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 阅读全文
摘要:
视频链接: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 阅读全文
摘要:
视频链接:G24 矩阵求逆 高斯约旦消元法_哔哩哔哩_bilibili Luogu P4783 【模板】矩阵求逆 #include<iostream> #include<cstdio> #include<cmath> #define LL long long using namespace std; 阅读全文
摘要:
视频链接:G23 线性方程组 高斯消元法_哔哩哔哩_bilibili Luogu P3389 【模板】高斯消元法 #include <iostream> #include <algorithm> #include <cmath> using namespace std; const int N = 阅读全文
摘要:
视频链接:https://www.bilibili.com/video/BV1GR4y1X7Mc/ Luogu P4195 【模板】扩展 BSGS/exBSGS #include <iostream> #include <cstring> #include <algorithm> #include 阅读全文
摘要:
视频链接:https://www.bilibili.com/video/BV1xd4y1175R/ Luogu P3846 [TJOI2007] 可爱的质数/【模板】BSGS #include <iostream> #include <cstring> #include <algorithm> #i 阅读全文
摘要:
视频链接:https://www.bilibili.com/video/BV1Ut4y1F7HG/ Luogu P4777 【模板】扩展中国剩余定理(EXCRT) #include <iostream> #include <cstring> #include <algorithm> using na 阅读全文
摘要:
视频链接:https://www.bilibili.com/video/BV1AN4y1N7Su/ Luogu P1495 【模板】中国剩余定理(CRT)/ 曹冲养猪 #include <iostream> #include <cstring> #include <algorithm> using 阅读全文
摘要:
视频链接:https://www.bilibili.com/video/BV1mg411a7o2/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; int exgcd(int a,int 阅读全文
摘要:
视频链接:https://www.bilibili.com/video/BV1rD4y1C7qg/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; int exgcd(int a,int 阅读全文