三杯鸡_蒸蛋
三杯鸡_蒸蛋
全部文章
分类
归档
标签
去牛客网
登录
/
注册
三杯鸡_蒸蛋的博客
全部文章
(共12篇)
题解 | 相邻的糖果
#include <iostream> #include<vector> #include <bits/stdc++.h> using namespace std; int main() { long long n,m,x; cin>>...
2026-02-07
0
10
题解 | 小苯的比赛上分
#include <iostream> #include<map> #include<queue> using namespace std; int main() { int n,maxrating,m; multimap<int,int&...
2026-02-01
0
18
题解 | 小苯的比赛上分
#include <iostream> #include<map> #include<queue> using namespace std; int main() { int n,maxrating,m; multimap<int,int&...
2026-02-01
0
17
题解 | 参议院投票
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 求出最终获胜帮派的名称 * @param s string字符串 * @return strin...
2026-01-29
0
16
题解 | 验证栈序列
#include <iostream> #include<stack> #include<vector> using namespace std; int main() { int n; cin>>n; for(in...
2026-01-28
0
14
题解 | 表达式求值
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 返回表达式的值 * @param s string字符串 待计算的表达式 * @return in...
2026-01-28
0
15
题解 | 栈和排序
#include <iostream> #include<stack> #include<vector> using namespace std; //如果x大于栈内的最大值,则它适合直接输出 //如果x不大于栈内最大值,则不输出 //所有元素进入栈内后,输出剩余...
2026-01-27
0
16
题解 | 有效括号序列
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param s string字符串 * @return bool布尔型 */ ...
2026-01-27
0
13
题解 | 吐泡泡
#include <iostream> #include<bits/stdc++.h> #include<stack> using namespace std; string judge(string s) { stack<char> arr...
2026-01-27
0
16
题解 | 括号配对问题
#include<bits/stdc++.h> #include<stack> using namespace std; string s; bool judge(string s) { stack<char> arr; for(int i=1;...
2026-01-26
0
18
首页
上一页
1
2
下一页
末页