lao_xiao
lao_xiao
全部文章
分类
归档
标签
去牛客网
登录
/
注册
lao_xiao的博客
全部文章
(共17篇)
题解 | 小红走迷宫
#include <iostream> #include <queue> #include <unordered_map> #include <vector> #include <algorithm> #include <cstrin...
2026-03-10
0
7
题解 | 戏志才
#include <iostream> #include <cstring> #include <unordered_map> using namespace std; const int N = 1e5 + 10; int h[N],e[N],ne[N],i...
2026-03-09
0
8
题解 | 【模板】01背包(计数)
#include <iostream> #include <cstring> using namespace std; const int N = 1e4 + 10; const int M = 1e9 + 7; int v[N], w[N]; int f[N]; in...
2026-03-07
0
12
题解 | 完全背包前置题
#include <iostream> #include <cstring> using namespace std; const int N = 1e3 + 10; int v[N]; bool f[N]; int main() { int n,k; ...
2026-03-06
0
14
题解 | 完全背包前置题
#include <iostream> #include <cstring> using namespace std; const int N = 1e3 + 10; int v[N]; bool f[N][N]; int main() { int n,k; ...
2026-03-06
0
10
题解 | 小红的树
#include <iostream> using namespace std; const int N = 110; int cnt[N]; int main() { int n,k; cin>>n>>k; // cout<...
2026-02-26
0
20
题解 | 小红的01子序列构造(easy)
#include <iostream> #include <string> using namespace std; int cnt[3]; int main() { int n; long long k; cin>>n>>...
2026-02-25
0
31
题解 | 01背包前置题
#include <iostream> using namespace std; const int N = 1e3 + 10; int a[N]; int f[N]; int main() { int n,k; cin>>n>>k; ...
2026-02-25
0
17
题解 | 01背包前置题
#include <iostream> using namespace std; const int N = 1e3 + 10; int a[N]; int f[N][N]; int main() { int n,k; cin>>n>>k; ...
2026-02-25
0
23
题解 | 小红走象步
#include <iostream> #include <vector> #include <queue> using namespace std; const int N = 1e3 + 10; bool st[N][N]; int g[N][N]; int...
2026-02-22
0
20
首页
上一页
1
2
下一页
末页