wrdoct
wrdoct
全部文章
分类
复习(44)
面经(1)
题解(88)
归档
标签
去牛客网
登录
/
注册
wrdoct的博客
TA的专栏
127篇文章
14人订阅
华为题库题解
103篇文章
467人学习
互联网学习
24篇文章
9431人学习
全部文章
(共151篇)
题解 | #统计每个月兔子的总数#
来自专栏
#include <bits/stdc++.h> using namespace std; int process(int n){ return n < 3 ? 1 : process(n - 1) + process(n - 2); } int main(){ ...
C++
2022-05-20
0
270
题解 | #统计字符#
来自专栏
#include<iostream> #include<string> using namespace std; int main() { string str = ""; while (getline(cin, str)) { i...
C++
2022-05-19
0
323
题解 | #蛇形矩阵#
#include <bits/stdc++.h> using namespace std; void process(int N){ /*if(N == 0){ cout << "" << endl; }*/ //第一行...
C++
2022-05-17
0
255
题解 | #蛇形矩阵#
来自专栏
#include <bits/stdc++.h> using namespace std; void process(int N){ /*if(N == 0){ cout << "" << endl; }*/ //第一行...
C++
2022-05-17
0
251
题解 | #密码截取#
#include <bits/stdc++.h> using namespace std; int getLength(string str, int l, int r){ while(l >= 0 && r < str.size() &&...
C++
2022-05-17
0
276
题解 | #密码截取#
来自专栏
#include <bits/stdc++.h> using namespace std; int getLength(string str, int l, int r){ while(l >= 0 && r < str.size() &&...
C++
2022-05-17
0
269
题解 | #查找兄弟单词#
来自专栏
#include <bits/stdc++.h> using namespace std; void process(int wordsNum, int& ans, string& res){ vector<string> vecStr(words...
C++
2022-05-16
0
257
题解 | #设计LRU缓存结构#
struct DoubleLinkedNode{ int key; int value; DoubleLinkedNode* prev; DoubleLinkedNode* next; DoubleLinkedNode() : key(0), value(0), pr...
C++
2022-05-15
0
283
题解 | #设计LRU缓存结构#
来自专栏
struct DoubleLinkedNode{ int key; int value; DoubleLinkedNode* prev; DoubleLinkedNode* next; DoubleLinkedNode() : key(0), value(0), pr...
C++
2022-05-15
1
337
题解 | #单词倒排#
来自专栏
#include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; int main(){ string str...
C++
2022-05-12
0
274
首页
上一页
6
7
8
9
10
11
12
13
14
15
下一页
末页