扎男_
扎男_
全部文章
分类
题解(3)
归档
标签
去牛客网
登录
/
注册
扎男_的博客
无人问津的港口总会开满鲜花
全部文章
(共112篇)
题解 | 字符串加密
#include <bits/stdc++.h> using namespace std; int main () { string str, input, keystr; cin >> str; cin >> input; //去重,新...
2025-03-19
1
79
题解 | 删除字符串中出现次数最少的字符
#include <bits/stdc++.h>// 万能头using namespace std;int main() { string s; while(cin>>s){ int mi=1e6; unordered_map<char,int&...
2025-03-15
1
54
题解 | 提取不重复的整数
#include <bits/stdtr1c++.h> // 万能头 using namespace std; int main() { string s; cin>>s;// 输入 set<char>se; // 需要用set来去重 ...
2025-03-14
1
39
题解 | 进制转换
#include <bits/stdc++.h>// 万能头 using namespace std; int main() { string s; cin>>s; reverse(s.begin(),s.end()); // 先将字符串给翻转 ...
2025-03-13
1
31
题解 | 字符串分隔
#include <bits/stdc++.h> using namespace std; int main() { string s; cin>>s; for(int i=0;i<s.size();i+=8){ string ...
2025-03-12
1
35
题解 | 字符串最后一个单词的长度
#include <iostream> using namespace std; #include<bits/stdc++.h> int main() { // int a, b; // while (cin >> a >> b) { ...
2025-03-11
1
28
题解 | 字符个数统计
#include <iostream> #include<set> using namespace std; int main() { int a, b; string s; //定义字符串 cin>>s;// 输入 set&l...
2025-03-10
1
36
题解 | 字符个数统计
#include <iostream> #include<set> using namespace std; // ^_^ int main() { string s; cin>>s; set<char>se; for...
2025-03-10
1
26
题解 | #小红的好数#
#include<bits/stdc++.h> // 这题真放比赛上难度应该 周赛BC题 感觉差不多 #include <iostream> using namespace std; #define int long long const int N=100000;//...
2024-11-20
3
60
牛客周赛 Round 57题解
哦吼吼,我是菜狗,如果有错欢迎大家指出。 写在前面: (玩原神的有福了,最后有惊喜哦) 前言:这次周赛有幸被抽中参加内测,且是本蒟蒻第一次参加内测所以本蒟蒻呢想写次题解来记录一下,也记录下大一最“厚”一篇题解,虽然在内测赛中还逆天般地拿下了首个“AK”但菜狗本狗还是有自知之明的,正式赛的话应该只能...
2024-08-25
15
305
首页
上一页
3
4
5
6
7
8
9
10
11
12
下一页
末页