甲醇苯酚钠
甲醇苯酚钠
全部文章
分类
归档
标签
去牛客网
登录
/
注册
甲醇苯酚钠的博客
全部文章
(共58篇)
题解 | 判断一个链表是否为回文结构
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ class Solution { public: /*...
2025-12-14
0
26
题解 | 链表相交
#include <bits/stdc++.h> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} };...
2025-12-14
0
29
题解 | 合并两个排序的链表
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ class Solution { public: ...
2025-12-13
0
29
题解 | 移除链表元素
/** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : val(x), next(nullptr) {} * }; */ class Solution { public: /*...
2025-12-13
0
23
题解 | 小苯的比赛上分
#include <iostream> using namespace std; #include<set> #include<vector> int main() { int n,m; cin>>n>>m; multiset&...
2025-12-11
0
29
题解 | 宝石计数
#include<set> class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param jewels string字符串 *...
2025-12-10
0
26
题解 | 快乐数
#include<set> class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param n int整型 * @return ...
2025-12-10
0
21
题解 | 动态整数集最近值提取
#include <iostream> using namespace std; #include<set> #include<cmath> int main() { int Q; cin>>Q; set<int>s; ...
2025-12-09
0
25
题解 | 机器翻译
#include <iostream> using namespace std; #include<deque> #include<vector> bool isInCache(int a,deque<int>d){ for(int i=0...
2025-12-06
0
26
题解 | 参议院投票
#include<string> #include<deque> #include<stack> bool isallsame(deque<char> d){ char a=d[0]; for(int i=1;i<d.size();i...
2025-12-04
0
20
首页
上一页
1
2
3
4
5
6
下一页
末页