当你看到这里你的offer++
当你看到这里你的offer++
全部文章
分类
Java(6)
刷题心得(4)
奇门遁甲(1)
底层逻辑(4)
题解(25)
归档
标签
去牛客网
登录
/
注册
当你看到这里你的offer++的博客
我祈祷一颗写完不忘的心灵,和刷medium不会流泪的眼睛
全部文章
(共52篇)
题解 | #合唱队#
#include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; int main(){ /* 最少...
C++
2022-08-09
0
386
题解 | #字符串加密#
#include <iostream> #include <vector> #include <algorithm> #include <string> #include <unordered_map> using namespace st...
C++
2022-08-09
1
350
c++输出
输出保留n个有效数字 #include<iomanip> cout << setprecision(n) << res << endl; 输出保留n位小数 #include<iomanip> cout << setiosfla...
C++
2022-08-09
0
409
题解 | #求小球落地5次后所经历的路程和第5次反弹的高度#
#include<iostream> #include<iomanip> using namespace std; int main(){ int n ; cin >> n; double h = n/1.0; cout <...
C++
2022-08-09
0
421
题解 | #称砝码#
#include<iostream> #include<vector> #include<unordered_set> using namespace std; int main(){ int n ; cin >> n; ve...
C++
2022-08-09
0
397
题解 | #迷宫问题#
#include<iostream> #include<vector> using namespace std; vector<pair<int,int>> path; vector<pair<int,int>> res; i...
C++
2022-08-08
0
406
题解 | #名字的漂亮度#
#include <iostream> #include <string> #include <vector> #include<algorithm> using namespace std; int main(){ int n ; ...
C++
2022-08-08
0
355
题解 | #从单向链表中删除指定值的节点#
#include<iostream> #include<unordered_map> #include<vector> using namespace std; struct DlinkedNode{ int val; DlinkedNode* ...
C++
2022-08-08
0
379
题解 | #找出字符串中第一个只出现一次的字符#
#include<iostream> #include<string> #include<vector> #include<queue> using namespace std; int main(){ vector<char> ...
C++
2022-08-08
0
391
最短编辑距离
tips: 令s2不动,通过对s1进行操作,使其一致 递归式从后往前递推 不管是递归还是迭代,抽象模型都是 s1[0...i]和s2[0...j]是否相同 一共4种操作: 如果s1[i] == s2[j],skip,不作为 增,即末尾增加元素,得到上述模型,说明此时 s1[0..i]和s2[0....
C++
动态规划
2022-08-05
2
638
首页
上一页
1
2
3
4
5
6
下一页
末页