银河护胃队
银河护胃队
全部文章
分类
归档
标签
去牛客网
登录
/
注册
银河护胃队的博客
全部文章
(共166篇)
题解 | 小苯的比赛上分
#include<bits/stdc++.h> using namespace std; const int N=1e5+10; int n,m; int a[N],b[N]; int main(){ ios::sync_with_stdio(false); cin.tie(...
2026-02-10
0
13
题解 | 两端问优先队列
#include<bits/stdc++.h> using namespace std; int n,op,x; multiset<int> mst; int main(){ ios::sync_with_stdio(false); cin.tie(0); c...
2026-02-10
0
12
题解 | 字符串优先队列
#include<bits/stdc++.h> using namespace std; priority_queue<string, vector<string>, greater<string>> s; void insertValue(strin...
2026-02-10
0
11
题解 | 结构体优先队列
#include<bits/stdc++.h> using namespace std; struct node{ int chinese, math, english, sum; }; bool operator<(node a, node b){ // TO...
2026-02-10
0
9
题解 | 【模板】整数优先队列
#include<bits/stdc++.h> using namespace std; int n,op,x; int main(){ priority_queue<int,vector<int>,greater<int>> pr; ...
2026-02-10
0
12
题解 | 不重复数字
#include<bits/stdc++.h> using namespace std; const int N=5e4+10; int T,n,a; int main(){ cin>>T; while(T--){ cin>>n; multi...
2026-02-09
0
13
题解 | 宝石计数
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param jewels string字符串 * @param stones strin...
2026-02-09
0
14
题解 | 快乐数
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param n int整型 * @return bool布尔型 */ ...
2026-02-09
0
12
题解 | 数对计数
#include<bits/stdc++.h> using namespace std; const int N=2e5+10; int n,c,a[N]; multiset<int> mst; int main(){ cin>>n>>c; ...
2026-02-09
0
15
题解 | 动态整数集最近值提取
#include<bits/stdc++.h> using namespace std; set<int> st; int Q; int main(){ cin>>Q; int op,x; while(Q--){ cin>>op>...
2026-02-09
0
17
首页
上一页
5
6
7
8
9
10
11
12
13
14
下一页
末页