湮雨
湮雨
全部文章
分类
归档
标签
去牛客网
登录
/
注册
湮雨的博客
全部文章
(共108篇)
题解 | 区间取反与区间数一
#include <iostream> #include <vector> using namespace std; struct Node{ int l=0; int r=0; int reverseTag=0; int OneCounts=...
2025-12-16
0
5
题解 | 区间加乘与单点求值
#include <iostream> #include <vector> using namespace std; using ll=long long; //定义余数 const int P=998244353; //新建存储节点 struct Node{ int...
2025-12-04
0
11
题解 | 区间根号与区间求和
#include <cmath> #include <iostream> #include <vector> using namespace std; using ll=long long; //用数组实现区间根号与区间求和 vector<int> a...
2025-12-01
0
8
题解 | 【模板】动态区间和Ⅱ ‖ 区间修改 + 区间查询
#include <iostream> #include <memory> #include <vector> using namespace std; using ll=long long; //定义二叉树 struct TreeNode{ int l,...
2025-11-27
0
13
题解 | 【模板】最近公共祖先(LCA)
#include <iostream> #include <ratio> #include<unordered_map> #include <utility> #include <vector> using namespace std; /...
2025-11-25
0
6
题解 | 小苯的IDE括号问题(直接删除也可以)(easy)
#include <iostream> #include<vector> using namespace std; string solve(vector<string>& op,string& s){ int left=0; i...
2025-11-13
0
18
题解 | 小红的整数配对
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int n,k; cin>>n>>k...
2025-09-23
0
31
题解 | 交换到最大
#include <iostream> using namespace std; int main() { int t; cin>>t; while(t--){ string s; cin>>s; ...
2025-09-22
1
27
题解 | 小红的矩阵染色
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int n,m,k; cin>>n>>...
2025-09-22
0
17
题解 | 数组取精
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n; cin>>n; vecto...
2025-09-16
0
23
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页