要冲外企的王心凌男孩
要冲外企的王心凌男孩
全部文章
分类
归档
标签
去牛客网
登录
/
注册
要冲外企的王心凌男孩的博客
全部文章
(共32篇)
题解 | #记票统计#
#include <iostream> using namespace std; #include <bits/stdc++.h> int main() { int n; cin>>n; string s; map<strin...
2023-12-05
0
270
题解 | #迷宫问题#
#include <iostream> using namespace std; #include <bits/stdc++.h> const vector<pair<int,int>>dirs = {{1,0},{0,1},{-1,0},{0,-1}...
2023-10-11
0
227
题解 | #24点游戏算法#
#include <iostream> using namespace std; #include <bits/stdc++.h> vector<double>a(4); bool flag = false; vector<bool>used(4,f...
2023-09-30
0
286
题解 | #迷宫问题#
#include<iostream> #include<vector> using namespace std; int n,m; vector<vector<int>> maze; //当从(0,0)到(n-1,m-1)有多条通路时,best_pa...
2023-09-30
0
250
题解 | #密码截取#
#include <iostream> using namespace std; #include <bits/stdc++.h> //返回这个字符为中心的最长对称串 string symmetry(string s, int i, int j){ while(i...
2023-09-29
0
222
题解 | #字符串加密#
#include <iostream> using namespace std; #include <bits/stdc++.h> const string s = "abcdefghijklmnopqrstuvwxyz"; int main() { ...
2023-09-29
0
339
题解 | #字符串加解密#
#include <iostream> using namespace std; void encode(string& s) { for (int i = 0; i < s.size(); i++) { if (isdigit(s[i])) { ...
2023-09-29
0
289
题解 | #查找兄弟单词#
#include <iostream> using namespace std; #include <bits/stdc++.h> int main() { int n,k; cin>>n; vector<string>str...
2023-09-29
0
271
题解 | #字符串排序#
#include <iostream> using namespace std; #include <bits/stdc++.h> const string alpha = "abcdefghijklmnopqrstuvwxyz"; int main()...
2023-09-29
0
300
题解 | #密码验证合格程序#
#include <iostream> using namespace std; #include <bits/stdc++.h> bool isKindValid(string& s){ //bool upper = false, lower = false...
2023-09-29
0
254
首页
上一页
1
2
3
4
下一页
末页