番禺小韭菜
番禺小韭菜
全部文章
分类
归档
标签
去牛客网
登录
/
注册
番禺小韭菜的博客
全部文章
(共93篇)
题解 | 素数伴侣 优化
#include<iostream> #include<vector> #include<unordered_set> using namespace std; unordered_set<int> mark; bool isprime(int n...
2025-02-27
0
24
题解 | 素数伴侣
#include<iostream> #include<vector> using namespace std; bool isprime(int num) { //判断一个数是否是素数 for (int i = 2; i * i <= num; i++) {...
2025-02-27
0
25
题解 | 查找兄弟单词
#include <iostream> #include<vector> #include<algorithm> using namespace std; bool isbrother(string str, string order) { if (st...
2025-02-27
0
27
题解 | 字符串排序
#include <cctype> #include <iostream> #include <vector> using namespace std; string String_Sorting(string str) { int len = str.s...
2025-02-26
0
24
题解 | 数据分类处理
#include <iostream> #include <vector> #include <set> #include <string> using namespace std; int main() { int n; cin &...
2025-02-26
0
26
题解 | 合唱队
#include <iostream> #include <vector> using namespace std; int main() { int n; while (cin >> n) { // 输入的数组 ...
2025-02-26
1
24
题解 | 汽水瓶
#include <iostream> using namespace std; int main() { int n; while ( cin >> n ) { if(n == 0) continue; ...
2025-02-26
1
23
题解 | 简单密码
#include <iostream> using namespace std; int main() { string str; cin >> str; for (int i=0; i<str.size(); i++) { ...
2025-02-26
1
26
题解 | 密码验证合格程序
#include <cctype> #include <iostream> #include <vector> #include <unordered_set> #include <string> using namespace std; ...
2025-02-26
1
27
题解 | 坐标移动
#include <iostream> #include <unordered_set> using namespace std; unordered_set<char> direct = {'A', 'D', 'S', 'W'}; int judge_mov...
2025-02-26
1
23
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页