影02
影02
全部文章
分类
归档
标签
去牛客网
登录
/
注册
影02的博客
全部文章
(共18篇)
题解 | 【模板】滑动窗口
#include <iostream> #include <deque> using namespace std; const int N=2e5+54; typedef long long ll; int a[N]; int main() { int n,k;ci...
2026-04-09
0
31
题解 | 鞋带难题
#include <iostream> #include <vector> #include <queue> #include <set> using namespace std; const int N = 1e5 + 5; int n, m; in...
2026-04-09
0
24
题解 | 旺仔哥哥走迷宫
#include <iostream> #include <vector> using namespace std; const int N=1e5+5; int n,m; int t[N]; vector<int> g[N]; string ans=&quo...
2026-04-09
0
26
题解 | 求树的根
#include <bits/stdc++.h> using namespace std; const int N=1e5+5; vector<int> g[N]; int d[N]; int ou[N]; vector<int> v; int main() ...
2026-04-08
0
23
题解 | 【模板】链式前向星
#include <iostream> #include <vector> #include <algorithm> using namespace std; const int N=1e5+5; vector<int> g[N]; int main...
2026-04-08
0
26
题解 | 计算阶乘
#include <iostream> using namespace std; const int mod=1e9+7; const int N=1e6; long long a[N]; void f(){ a[0]=1; for(int i=1;i<N;i++...
2026-03-12
0
29
题解 | 斐波那契数列
#include <iostream> using namespace std; const long long MOD = 1e9+7; int main(){ int k; cin >> k; if(k==1 || k==2){ ...
2026-03-12
0
30
题解 | 数水坑
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 105; char g[N][N]; bool v[N][N]; int dx[] = {0, 0, 1, -1, 1, ...
2026-01-19
0
41
首页
上一页
1
2
下一页
末页