TeezeeK
TeezeeK
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
TeezeeK的博客
全部文章
(共15篇)
题解 | 吐泡泡
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while (t--) { stack<char> st; ...
2026-03-10
1
79
题解 | 好串
这道题其实就是括号题的变种,用的还是栈的逻辑 #include <bits/stdc++.h> #include <iostream> #include <stack> #include <string> using namespace std; ...
2026-03-09
0
70
题解 | 【模板】栈的操作
#include <bits/stdc++.h> #include <iostream> #include <string> using namespace std; int main() { stack<int> s; int ...
2026-03-08
0
76
题解 | 旺仔哥哥转圈圈
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算出旺仔哥哥最后会站在哪位小朋友旁边 * @param a int整型vector 第 i 个小朋友的数字...
2026-03-07
1
92
题解 | 旺仔哥哥挤地铁
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算旺仔哥哥在地铁上的最长停留时间 * @param t int整型vector 序列 t,表示地铁在相邻...
2026-03-07
0
73
首页
上一页
1
2
下一页
末页