讲义气的勇士愿offer多多
讲义气的勇士愿offer多多
全部文章
分类
归档
标签
去牛客网
登录
/
注册
讲义气的勇士愿offer多多的博客
TA的专栏
4篇文章
0人订阅
字符串操作
4篇文章
77人学习
全部文章
(共110篇)
题解 | #字符串排序#
#include <algorithm> #include <iostream> #include <vector> using namespace std; int main() { int cnt; cin >> cnt; // ...
2024-09-25
0
62
题解 | #句子逆序#
#include <algorithm> #include <cstddef> #include <iostream> using namespace std; int main() { string str; getline(cin, str)...
2024-09-25
0
72
题解 | #字符串反转#
#include <algorithm> #include <iostream> using namespace std; int main() { string str; getline(cin, str); // 获取字符串 reverse(s...
2024-09-25
0
58
题解 | #数字颠倒#
#include <algorithm> #include <iostream> using namespace std; int main() { string str; cin >> str; reverse(str.begin()...
2024-09-25
0
57
题解 | #字符个数统计#
#include <iostream> #include <unordered_set> using namespace std; int main() { string str; cin >> str; unordered_set<...
2024-09-25
0
76
题解 | #字符个数统计#
#include <iostream> #include <unordered_set> using namespace std; int main() { string str; size_t res = 0; cin >> str; ...
2024-09-25
0
65
题解 | #提取不重复的整数#
#include <algorithm> #include <iostream> #include <unordered_set> using namespace std; int main() { string str, res; cin &g...
2024-09-25
0
56
题解 | #合并表记录#
#include <cstddef> #include <iostream> #include <map> using namespace std; int main() { size_t cnt; cin >> cnt; ...
2024-09-25
0
77
题解 | #取近似值#
#include <iostream> using namespace std; int main() { string str; getline(cin, str); size_t res = 0; size_t pos = str.find('.'...
2024-09-25
0
60
题解 | #明明的随机数#
#include <iostream> using namespace std; int main() { int cnt; int i; cin >> cnt; int num[1000] = {-1}; while(cnt){ ...
2024-09-24
0
51
首页
上一页
2
3
4
5
6
7
8
9
10
11
下一页
末页