在吵架的小辣鸡很糊涂
在吵架的小辣鸡很糊涂
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在吵架的小辣鸡很糊涂的博客
全部文章
(共74篇)
题解 | 名字的漂亮度
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n = 0; while (cin >>...
2025-07-31
0
18
题解 | 统计字符
#include <iostream> using namespace std; int main() { string s; while (getline(cin, s)) { int alph = 0, space = 0, num = 0, oth...
2025-07-30
0
17
题解 | 求小球落地5次后所经历的路程和第5次反弹的高度
#include <iostream> using namespace std; int main() { int h; double arr[5]; while (cin >> h) { arr[0] = h; ...
2025-07-29
0
22
题解 | 统计每个月兔子的总数
#include <iostream> #include <vector> using namespace std; // 月份 1 2 3 4 5 6 7 // 数量总数:1 1 2 3 5 8 13 // 第 1、2 月都是 1 第 3个月...
2025-07-29
0
23
题解 | 字符串加密
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { string s, t; cin >> s; ...
2025-07-29
0
24
题解 | 蛇形矩阵
#include <iostream> #include <vector> using namespace std; int main() { int line; while (cin >> line) { vector<...
2025-07-29
0
24
题解 | 图片整理
#include <iostream> #include <algorithm> using namespace std; int main() { string line; while (cin >> line) { // 直接调用...
2025-07-29
0
19
题解 | 整数与IP地址间的转换
#include <iostream> #include <cstdio> #include <string> using namespace std; int main() { string line; cin >> line; ...
2025-07-29
0
33
题解 | 字符串合并处理
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <map> using namespace std; // 处理 ...
2025-07-28
0
25
题解 | 密码截取
#include <iostream> using namespace std; // 从中心点向两边延伸比较是否相等,相等自动同时向两边移动一位在比较; // 知道不想等计算出长度; int getLength(string s, int l, int r) { while ...
2025-07-28
0
18
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页