wrdoct
wrdoct
全部文章
分类
复习(44)
面经(1)
题解(88)
归档
标签
去牛客网
登录
/
注册
wrdoct的博客
TA的专栏
127篇文章
14人订阅
华为题库题解
103篇文章
467人学习
互联网学习
24篇文章
9430人学习
全部文章
(共151篇)
题解 | #学英语#
#include <bits/stdc++.h> using namespace std; vector<string> ones = { "zero", "one", "two", "three", "four", "five", "six", "seven", "ei...
C++
2022-06-16
0
243
题解 | #学英语#
来自专栏
#include <bits/stdc++.h> using namespace std; vector<string> ones = { "zero", "one", "two", "three", "four", "five", "six", "seven", "ei...
C++
2022-06-16
0
367
题解 | #栈和排序#
class Solution { public: /** * 栈排序 * @param a int整型一维数组 描述入栈顺序 * @param aLen int a数组长度 * @return int整型vector */ vecto...
C++
2022-06-15
1
336
题解 | #旋转字符串#
class Solution { public: /** * 旋转字符串 * @param A string字符串 * @param B string字符串 * @return bool布尔型 */ bool solve(stri...
C++
2022-06-15
0
306
题解 | #买卖股票的最好时机(二)#
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * 计算最大收益 * @param prices int整型vector 股票每一天的价格 * @return in...
C++
2022-06-15
0
294
题解 | #数组中出现次数超过一半的数字#
class Solution { public: int MoreThanHalfNum_Solution(vector<int> numbers) { int cnt = 0;//票数 int res = 0;//最终返回的结果 //出现次数最多...
C++
2022-06-15
0
313
题解 | #迷宫问题#
#include <bits/stdc++.h> using namespace std; int dx[4] = {1, 0, -1, 0}; int dy[4] = {0, 1, 0, -1}; vector<pair<int, int>> res; v...
C++
2022-06-15
0
250
题解 | #迷宫问题#
来自专栏
#include <bits/stdc++.h> using namespace std; int dx[4] = {1, 0, -1, 0}; int dy[4] = {0, 1, 0, -1}; vector<pair<int, int>> res; v...
C++
2022-06-15
0
248
题解 | #称砝码#
#include <bits/stdc++.h> using namespace std; int main(){ int typeNum = 0; cin >> typeNum; vector<int> weight(typeNum,...
C++
2022-06-15
0
364
题解 | #称砝码#
来自专栏
#include <bits/stdc++.h> using namespace std; int main(){ int typeNum = 0; cin >> typeNum; vector<int> weight(typeNum,...
C++
2022-06-15
0
281
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页