上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 45 下一页
摘要: 视频链接:A12 ST表 RMQ问题_哔哩哔哩_bilibili Luogu P3865 【模板】ST 表 // ST表 RMQ O(nlogn) #include<bits/stdc++.h> using namespace std; int n,m; int f[100005][22]; //f 阅读全文
posted @ 2023-07-05 19:53 董晓 阅读(1751) 评论(2) 推荐(2)
摘要: 视频链接:A11 树上差分_哔哩哔哩_bilibili D09 倍增算法 P3379【模板】最近公共祖先(LCA) - 董晓 - 博客园 Luogu P3128 [USACO15DEC] Max Flow P #include <iostream> #include <cstring> #inclu 阅读全文
posted @ 2023-07-04 17:33 董晓 阅读(1136) 评论(0) 推荐(1)
摘要: 视频链接:A10 差分 二维差分_哔哩哔哩_bilibili Luogu P4552 [Poetize6] IncDec Sequence #include <iostream> #include <cstring> using namespace std; typedef long long LL 阅读全文
posted @ 2023-07-04 17:06 董晓 阅读(1212) 评论(0) 推荐(1)
摘要: 视频链接:A09 树上前缀和 P4427 [BJOI2018] 求和_哔哩哔哩_bilibili D09 倍增算法 P3379【模板】最近公共祖先(LCA) - 董晓 - 博客园 Luogu P4427 [BJOI2018] 求和 #include<bits/stdc++.h> using name 阅读全文
posted @ 2023-07-03 17:44 董晓 阅读(1255) 评论(0) 推荐(4)
摘要: 视频链接:A08 前缀和 二维前缀和_哔哩哔哩_bilibili Luogu P8218 【深进1.例1】求区间和 #include <iostream> #include <cstring> #include <algorithm> using namespace std; int n,m; in 阅读全文
posted @ 2023-07-03 16:02 董晓 阅读(1434) 评论(0) 推荐(1)
摘要: 视频链接:B33 Dancing Links 舞蹈链 靶形数独_哔哩哔哩_bilibili Luogu P1074 [NOIP2009 提高组] 靶形数独 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm 阅读全文
posted @ 2023-06-29 06:57 董晓 阅读(415) 评论(0) 推荐(0)
摘要: 视频链接:B32 Dancing Links 舞蹈链 数独_哔哩哔哩_bilibili Luogu P1784 数独 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace s 阅读全文
posted @ 2023-06-29 06:53 董晓 阅读(606) 评论(0) 推荐(0)
摘要: 视频链接:B31【模板】舞蹈链(DLX)精确覆盖问题_哔哩哔哩_bilibili Luogu P4929 【模板】舞蹈链(DLX) #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using name 阅读全文
posted @ 2023-06-27 11:09 董晓 阅读(600) 评论(1) 推荐(0)
摘要: 视频链接:B30 IDA*算法 The Rotation Game_哔哩哔哩_bilibili POJ2286 The Rotation Game #include <cstdio> #include <cstring> #include <iostream> #include <algorithm 阅读全文
posted @ 2023-06-25 12:14 董晓 阅读(275) 评论(0) 推荐(0)
摘要: 视频链接:B29 IDA*算法 Booksort_哔哩哔哩_bilibili POJ3460 Booksort #include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace 阅读全文
posted @ 2023-06-25 12:12 董晓 阅读(446) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 45 下一页