花碗
花碗
全部文章
分类
归档
标签
去牛客网
登录
/
注册
花碗的博客
全部文章
(共17篇)
题解 | 秘藏
dp 初始下开始情况有四种前进的情况 #include <iostream> #include<algorithm> #include<vector> using namespace std; typedef long long ll; int main() { ...
2025-12-24
0
17
题解 | 小猫排队
把可爱值大的放进去一个数组在来个j=1作开头,猫的位置在n+1先跳跃 判断是否能跳 非空且不超限然后j++ sum++ #include <iostream> #include<vector> #include<algorithm> #include <ra...
2025-12-22
0
13
题解 | 排座椅
先排出现次数 再按id大小排序打印行与列是单独看的 #include <iostream> #include<vector> #include<algorithm> using namespace std; struct channel{ int id; ...
2025-12-22
0
16
题解 | 至
先进行排序对每种情况进行分类讨论注意下形成对角线的的两种方式 #include <iostream> #include<algorithm> using namespace std; int main() { ios::sync_with_stdio(false);...
2025-12-20
0
12
题解 | 小红的口罩
#include <functional> #include<vector> #include <iostream> #include<queue> using namespace std; const int N=1e5+10; int main(...
2025-12-19
0
16
题解 | 01串题
#include <iostream> #include<algorithm> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int ...
2025-12-18
0
11
题解 | 剩下的数
#include <iostream> using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int t; ...
2025-12-17
0
13
题解 | 游游的字母翻倍
#include <iostream> #include<cstring> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.t...
2025-12-16
0
14
题解 | 月月查华华的手机
#include <iostream> #include<cstring> using namespace std; const int N=1e6+10; int a[N][26];//用来储存字符串第k个位置后的字母最近出现的位置 int main() { ios...
2025-12-16
0
19
题解 | 【模板】静态区间最值
#include <cstdio> #include <initializer_list> #include <iostream> #include<algorithm> using namespace std; const int N=5e5+10;...
2025-12-14
0
18
首页
上一页
1
2
下一页
末页