wrdoct
wrdoct
全部文章
分类
复习(44)
面经(1)
题解(88)
归档
标签
去牛客网
登录
/
注册
wrdoct的博客
TA的专栏
127篇文章
14人订阅
华为题库题解
103篇文章
467人学习
互联网学习
24篇文章
9431人学习
全部文章
(共151篇)
题解 | #查找输入整数二进制中1的个数#
来自专栏
#include<bits/stdc++.h> using namespace std; void process(int num, int& res){ while(num != 0){ res++; num = num & ...
C++
2022-05-05
0
230
题解 | #百钱买百鸡问题#
来自专栏
#include<bits/stdc++.h> using namespace std; int main(){ int num = 0; cin>>num; int n1 = 0; // 鸡翁个数 int n2 = 0; // 鸡母个数 ...
C++
2022-05-05
0
291
题解 | #简单密码#
来自专栏
//#include <bits/stdc++.h> #include <iostream> #include <string> #include <unordered_map> #include <cstring> using name...
C++
2022-05-04
0
283
题解 | #购物单#
//背包问题 #include <iostream> #include <vector> #define max(x, y) (x) > (y) ? (x) : (y) using namespace std; int getMax(int x, int y){ ...
C++
动态规划
2022-05-02
0
278
题解 | #购物单#
来自专栏
//背包问题 #include <iostream> #include <vector> #define max(x, y) (x) > (y) ? (x) : (y) using namespace std; int getMax(int x, int y){ ...
C++
动态规划
C++
动态规划
2022-05-02
1
326
题解 | #求int型正整数在内存中存储时1的个数#
来自专栏
#include <iostream> #include <string> #include <algorithm> //#include <math.h> using namespace std; void process(int num, in...
C++
2022-05-01
0
254
题解 | #字符串排序#
来自专栏
#include <iostream> #include <string> #include <algorithm> #include <vector> using namespace std; int main(){ int n = 0;...
C++
2022-05-01
0
389
题解 | #句子逆序#
来自专栏
#include <iostream> #include <fstream> #include <string> #include <algorithm> #include <vector> using namespace std; v...
C++
2022-05-01
0
316
题解 | #字符串反转#
来自专栏
#include <iostream> #include <string> #include <algorithm> //#include <math.h> using namespace std; int main(){ string r...
C++
2022-05-01
0
311
题解 | #数字颠倒#
来自专栏
#include <iostream> #include <string> #include <algorithm> //#include <math.h> using namespace std; int main(){ int num;...
C++
2022-05-01
0
291
首页
上一页
7
8
9
10
11
12
13
14
15
16
下一页
末页