仰泳鲈鱼很想堆雪人
仰泳鲈鱼很想堆雪人
全部文章
分类
归档
标签
去牛客网
登录
/
注册
仰泳鲈鱼很想堆雪人的博客
全部文章
(共19篇)
题解 | 数对计数
#include <iostream> #include <set> using namespace std; int main() { int n, c; cin >> n >> c; int a; multiset...
2025-10-21
0
36
题解 | 动态整数集最近值提取
#include <iostream> #include <math.h> #include <set> using namespace std; set<int> s; void Y(int x) { cout << x &l...
2025-10-17
0
43
题解 | 【模板】集合操作
#include<bits/stdc++.h> using namespace std; set<int> s; void insertValue(int x){ s.insert(x); //TODO 实现插入逻辑 } void eraseValue(in...
2025-09-23
0
32
题解 | 机器翻译
#include <iostream> #include <queue> using namespace std; int main() { int m, n; cin >> m >> n; int arr[1000] = {...
2025-09-23
0
31
题解 | 参议院投票
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 求出最终获胜帮派的名称 * @param s string字符串 * @return strin...
2025-09-22
0
33
题解 | 用两个栈实现队列
#include <cstdarg> class Solution { public: void push(int node) { stack1.push(node); } int pop() { if (stack2.empty...
2025-09-22
0
36
题解 | 队列消数
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param tickets int整型vector * @param k int整型 ...
2025-09-22
0
30
题解 | 无法吃午餐的学生数量
#include <math.h> class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param students int整型vecto...
2025-09-22
0
40
题解 | 栈和排序
#include <iostream> #include <stack> using namespace std; int main() { stack<int> s; int n; cin >> n; int i; ...
2025-09-22
0
45
题解 | 有效括号序列
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param s string字符串 * @return bool布尔型 */ ...
2025-09-20
0
54
首页
上一页
1
2
下一页
末页