09 2022 档案

摘要:视频链接:https://www.bilibili.com/video/BV1Ut4y1F7HG/ Luogu P4777 【模板】扩展中国剩余定理(EXCRT) #include <iostream> #include <cstring> #include <algorithm> using na 阅读全文
posted @ 2022-09-30 09:32 董晓 阅读(555) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1AN4y1N7Su/ Luogu P1495 【模板】中国剩余定理(CRT)/ 曹冲养猪 #include <iostream> #include <cstring> #include <algorithm> using 阅读全文
posted @ 2022-09-28 18:42 董晓 阅读(674) 评论(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 董晓 阅读(693) 评论(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 董晓 阅读(674) 评论(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 董晓 阅读(541) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1GG411n7tW/ HDU 2973 YAPTCHA #include <iostream> using namespace std; typedef long long LL; const int N = 100000 阅读全文
posted @ 2022-09-23 22:21 董晓 阅读(469) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1iN4y1K7ZN/ Luogu P5091 【模板】扩展欧拉定理 #include <iostream> using namespace std; typedef long long LL; int a,b,m,phi, 阅读全文
posted @ 2022-09-23 16:35 董晓 阅读(771) 评论(0) 推荐(2) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1RD4y1i7PK/ #include<iostream> using namespace std; typedef long long LL; int a, p; int quickpow(LL a, int b, in 阅读全文
posted @ 2022-09-22 09:47 董晓 阅读(732) 评论(0) 推荐(1) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1Te4y1C7DP/ #include <iostream> using namespace std; const int N = 1000010; int p[N], vis[N], cnt; int mu[N]; vo 阅读全文
posted @ 2022-09-21 21:47 董晓 阅读(481) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1sd4y1M74E/ #include <iostream> using namespace std; const int N = 1000010; int p[N], vis[N], cnt; //g[i]表示i的最小质 阅读全文
posted @ 2022-09-21 10:57 董晓 阅读(483) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1ft4y1A7mW/ #include <iostream> using namespace std; const int N = 1000010; int p[N], vis[N], cnt; int a[N]; //a 阅读全文
posted @ 2022-09-20 21:03 董晓 阅读(686) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1VP411p7Bs/ #include <iostream> using namespace std; const int N = 1e9+10; int phi(int n){ //试除法求欧拉函数 int res = 阅读全文
posted @ 2022-09-14 16:01 董晓 阅读(873) 评论(0) 推荐(3) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1kG411u7Ze Luogu P3383 【模板】线性筛素数 #include <iostream> #include <cstring> #include <algorithm> using namespace std 阅读全文
posted @ 2022-09-13 16:59 董晓 阅读(955) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1md4y1u7do Luogu P2043 质因子分解 #include <iostream> #include <cstring> #include <algorithm> using namespace std; in 阅读全文
posted @ 2022-09-12 23:37 董晓 阅读(824) 评论(4) 推荐(2) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1mV4y1M7Wq Luogu P5736 【深基7.例2】质数筛 #include <iostream> #include <cstring> #include <algorithm> using namespace s 阅读全文
posted @ 2022-09-12 11:17 董晓 阅读(460) 评论(0) 推荐(0) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1XG4y1q7e7 Luogu P1029 [NOIP2001 普及组] 最大公约数和最小公倍数问题 #include <iostream> #include <cstring> #include <algorithm> 阅读全文
posted @ 2022-09-11 16:22 董晓 阅读(633) 评论(0) 推荐(0) 编辑
摘要:视频链接:510 矩阵加速 P1962 斐波那契数列_哔哩哔哩_bilibili Luogu P1962 斐波那契数列 // O(2^3*logn) #include <iostream> #include <cstring> #include <algorithm> using namespace 阅读全文
posted @ 2022-09-08 22:46 董晓 阅读(754) 评论(0) 推荐(2) 编辑
摘要:视频链接:509【模板】矩阵快速幂_哔哩哔哩_bilibili Luogu P3390 【模板】矩阵快速幂 #include <iostream> #include <cstring> #include <algorithm> using namespace std; typedef long lo 阅读全文
posted @ 2022-09-08 15:33 董晓 阅读(999) 评论(0) 推荐(4) 编辑
摘要:视频链接:https://www.bilibili.com/video/BV1R14y1e7r7 Luogu P1045 [NOIP2003 普及组] 麦森数 #include <iostream> #include <cstring> #include <algorithm> #include < 阅读全文
posted @ 2022-09-06 16:10 董晓 阅读(910) 评论(1) 推荐(1) 编辑
摘要:视频链接:G01 快速幂_哔哩哔哩_bilibili Luogu P1226 【模板】快速幂||取余运算 #include <iostream> using namespace std; typedef long long LL; int a,b,p; int qpow(int a,int b,in 阅读全文
posted @ 2022-09-04 20:44 董晓 阅读(733) 评论(0) 推荐(0) 编辑
摘要:视频链接:A04 高精度算法 除法_哔哩哔哩_bilibili Luogu P1480 A/B Problem #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N=5 阅读全文
posted @ 2022-09-04 17:37 董晓 阅读(673) 评论(0) 推荐(1) 编辑
摘要:视频链接:A03 高精度算法 乘法_哔哩哔哩_bilibili Luogu P1303 A*B Problem #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N=4 阅读全文
posted @ 2022-09-04 11:03 董晓 阅读(997) 评论(0) 推荐(0) 编辑
摘要:视频链接:A02 高精度算法 减法_哔哩哔哩_bilibili Luogu P2142 高精度减法 #include <iostream> using namespace std; const int N=20000; int a[N],b[N],c[N]; int la,lb,lc; bool c 阅读全文
posted @ 2022-09-04 09:26 董晓 阅读(601) 评论(1) 推荐(0) 编辑
摘要:视频链接:A01 高精度算法 加法_哔哩哔哩_bilibili Luogu P1601 A+B Problem(高精) #include <iostream> using namespace std; const int N=505; int a[N],b[N],c[N]; int la,lb,lc 阅读全文
posted @ 2022-09-02 23:02 董晓 阅读(970) 评论(0) 推荐(0) 编辑

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