快乐的打工人
快乐的打工人
全部文章
分类
归档
标签
去牛客网
登录
/
注册
快乐的打工人的博客
全部文章
(共26篇)
题解 | #字符串加解密#
#include <cctype> #include <iostream> using namespace std; string encode(string& str) { string ans; for (char c : str) { ...
2023-04-09
0
273
题解 | #查找兄弟单词#
#include <iostream> #include <queue> #include <vector> using namespace std; bool isBroWord(vector<int>& count,string& word, s...
2023-04-09
0
266
题解 | #字符串排序#
#include <cctype> #include <iostream> #include <string> using namespace std; void merge(string& letter, int lo, int mid, int hi){ ...
2023-04-09
0
271
题解 | #合唱队#
#include <iostream> #include <vector> using namespace std; vector<int> LTS(vector<int>& nums){ int n = nums.size(); ...
2023-04-09
0
312
题解 | #简单密码#
#include <cctype> #include <iostream> #include <vector> using namespace std; int main() { string s; vector<char> lett...
2023-04-08
0
291
题解 | c++#密码验证合格程序#
#include <cctype> #include <iostream> #include <string> using namespace std; bool check(string& str) { int mask = 0; for (c...
2023-04-08
0
267
题解 | c++#简单错误记录#
#include <iostream> #include <sstream> #include <string> #include <unordered_map> #include <utility> #include <vector...
2023-04-08
0
243
题解 | #识别有效的IP地址和掩码并进行分类统计#
#include <bits/stdc++.h> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector&...
2023-04-08
0
268
题解 | #坐标移动#
#include <iostream> #include <string> #include <vector> using namespace std; bool check(string s){ if(s.size() > 3 || s.size...
2023-04-08
0
238
题解 | #删除字符串中出现次数最少的字符#
#include <climits> #include <iostream> #include <string> #include <vector> using namespace std; int main() { string s; ...
2023-04-07
0
229
首页
上一页
1
2
3
下一页
末页