10 2022 档案
摘要:视频链接:https://www.bilibili.com/video/BV1ZK41127tu/ Luogu P1450 [HAOI2008] 硬币购物 #include <iostream> #include <cstring> #include <algorithm> using namesp
阅读全文
摘要:视频链接:https://www.bilibili.com/video/BV1S8411h77u/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; typedef long long L
阅读全文
摘要:视频链接:https://www.bilibili.com/video/BV1ge4y177mb/ Luogu P1771 方程的解 #include <iostream> #include <cstring> #include <algorithm> using namespace std; co
阅读全文
摘要:视频链接:https://www.bilibili.com/video/BV16R4y1X7Fg/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 10010
阅读全文
摘要:视频链接:https://www.bilibili.com/video/BV1Jd4y127oY/ Luogu P3807 【模板】卢卡斯定理/Lucas 定理 #include <iostream> using namespace std; typedef long long LL; const
阅读全文
摘要:视频链接: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
阅读全文