wrdoct
wrdoct
全部文章
分类
复习(44)
面经(1)
题解(88)
归档
标签
去牛客网
登录
/
注册
wrdoct的博客
TA的专栏
127篇文章
14人订阅
华为题库题解
103篇文章
467人学习
互联网学习
24篇文章
9430人学习
全部文章
(共151篇)
题解 | #查找两个字符串a,b中的最长公共子串#
#include <bits/stdc++.h> using namespace std; //dp //dp[i][j]表示 到s1第i个,到s2第j个为止 的公共子串长度 (其中s1较短) void longestCommonSubsequence(string s1, stri...
C++
2022-06-27
0
296
题解 | #查找两个字符串a,b中的最长公共子串#
来自专栏
#include <bits/stdc++.h> using namespace std; //dp //dp[i][j]表示 到s1第i个,到s2第j个为止 的公共子串长度 (其中s1较短) void longestCommonSubsequence(string s1, stri...
C++
2022-06-27
0
304
题解 | #MP3光标位置#
#include <bits/stdc++.h> using namespace std; int main(){ //输入 int musicNum = 0; string command = ""; cin >> musicNum; ...
C++
2022-06-27
0
249
题解 | #MP3光标位置#
来自专栏
#include <bits/stdc++.h> using namespace std; int main(){ //输入 int musicNum = 0; string command = ""; cin >> musicNum; ...
C++
2022-06-27
0
294
题解 | #计算日期到天数转换#
#include <bits/stdc++.h> using namespace std; //平年每一个月的天数 int pingYears[]={31,28,31,30,31,30,31,31,30,31,30,31}; //闰年每一个月的天数 int runYears[]={3...
C++
2022-06-26
0
335
题解 | #计算日期到天数转换#
来自专栏
#include <bits/stdc++.h> using namespace std; //平年每一个月的天数 int pingYears[]={31,28,31,30,31,30,31,31,30,31,30,31}; //闰年每一个月的天数 int runYears[]={3...
C++
2022-06-26
0
322
题解 | #最长回文子串#
来自专栏
#include <bits/stdc++.h> using namespace std; bool isHuiWen(string s){ //cout << s << endl; /*int left = 0, right = s.size...
C++
2022-06-26
0
338
题解 | #高精度整数加法#
#include <bits/stdc++.h> using namespace std; long str2int(string s){ long res = 0; for(int i = 0; i < s.size(); i++){ ...
C++
2022-06-25
0
246
题解 | #高精度整数加法#
来自专栏
#include <bits/stdc++.h> using namespace std; long str2int(string s){ long res = 0; for(int i = 0; i < s.size(); i++){ ...
C++
2022-06-25
0
310
题解 | #查找组成一个偶数最接近的两个素数#
来自专栏
#include <bits/stdc++.h> using namespace std; bool isSuShu(int num){ for(int i = 2; i < num; i++){ if(num % i == 0){ ...
C++
2022-06-25
0
321
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页