随笔分类 -  G 数学

摘要:视频链接:https://www.bilibili.com/video/BV1BM411C7bU/ HDU - 1521 排列组合 (指数生成函数) #include <iostream> #include <cstring> #include <algorithm> using namespace 阅读全文
posted @ 2022-11-17 09:01 董晓 阅读(299) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1E24y1171z/ HDU - 2152 Fruit #include <iostream> #include <cstring> #include <algorithm> using namespace std; in 阅读全文
posted @ 2022-11-11 21:48 董晓 阅读(366) 评论(0) 推荐(2) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1pP4y127tC/ Luogu P2261 [CQOI2007]余数求和 #include<cstdio> #include<algorithm> using namespace std; typedef long lo 阅读全文
posted @ 2022-11-05 18:30 董晓 阅读(434) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1td4y1F7v1/ Luogu P1044 [NOIP2003 普及组] 栈 #include <iostream> using namespace std; int n; long long f[20]; int ma 阅读全文
posted @ 2022-11-03 19:11 董晓 阅读(505) 评论(2) 推荐(1) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1ZK41127tu/ Luogu P1450 [HAOI2008] 硬币购物 #include <iostream> #include <cstring> #include <algorithm> using namesp 阅读全文
posted @ 2022-10-28 23:30 董晓 阅读(410) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1S8411h77u/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; typedef long long L 阅读全文
posted @ 2022-10-13 22:28 董晓 阅读(446) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1ge4y177mb/ Luogu P1771 方程的解 #include <iostream> #include <cstring> #include <algorithm> using namespace std; co 阅读全文
posted @ 2022-10-11 20:04 董晓 阅读(435) 评论(0) 推荐(2) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV16R4y1X7Fg/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 10010 阅读全文
posted @ 2022-10-08 21:35 董晓 阅读(440) 评论(0) 推荐(2) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1Jd4y127oY/ Luogu P3807 【模板】卢卡斯定理/Lucas 定理 #include <iostream> using namespace std; typedef long long LL; const 阅读全文
posted @ 2022-10-08 21:34 董晓 阅读(694) 评论(2) 推荐(2) 编辑
摘要:视频链接: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 董晓 阅读(583) 评论(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 董晓 阅读(409) 评论(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 董晓 阅读(463) 评论(0) 推荐(1) 编辑
摘要:视频链接:G23 线性方程组 高斯消元法_哔哩哔哩_bilibili Luogu P3389 【模板】高斯消元法 #include <iostream> #include <algorithm> #include <cmath> using namespace std; const int N = 阅读全文
posted @ 2022-10-05 21:31 董晓 阅读(722) 评论(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 董晓 阅读(317) 评论(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 董晓 阅读(523) 评论(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 董晓 阅读(557) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1AN4y1N7Su/ Luogu P1495 【模板】中国剩余定理(CRT)/ 曹冲养猪 #include <iostream> #include <cstring> #include <algorithm> using 阅读全文
posted @ 2022-09-28 18:42 董晓 阅读(678) 评论(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 董晓 阅读(699) 评论(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 董晓 阅读(681) 评论(1) 推荐(1) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1bW4y1e7n9/ Luogu P4549 【模板】裴蜀定理 #include<iostream> #include<cmath> using namespace std; int n,a,s; int gcd(int 阅读全文
posted @ 2022-09-23 23:03 董晓 阅读(545) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示