C语言通用解法,通用解法 摘要:```c#include int main() { char s[10]; scanf("%s",s); int i=0; while(s[i]!…… 题解列表 2025年03月07日 40 点赞 0 评论 3124 浏览 评分:7.0
< 蓝桥杯C++ > 2024年第十五届省赛真题-宝石组合 摘要:**参考代码链接:[[第十五届蓝桥杯C++B组真题-宝石组合]][1]**[1]: https://blog.dotcpp.com/a/104419---# 题目思路题目公式 …… 题解列表 2025年03月11日 5 点赞 0 评论 1926 浏览 评分:7.0
蓝桥杯2025年第十六届省赛真题-最多次数 摘要:解题思路:1. **理解问题**:我们需要在字符串 `s` 中找出尽可能多的子字符串,每个子字符串必须是长度为 3 的序列,且只能包含字符 'l', 'q', 'b',并且组成的单词需要是小蓝喜欢…… 题解列表 2025年04月19日 7 点赞 0 评论 1045 浏览 评分:7.0
优质题解 [北邮大作业]俄罗斯方块OJ版题解思路 摘要:题目很难,题目也很简单。这边是用cpp写的,参考基于Pierre Dellacherie算法(一下简称PD)这边图形就根据数组定义建系棋盘长这样:1. …… 题解列表 2025年05月20日 13 点赞 0 评论 4677 浏览 评分:7.0
1为真,0为假 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b, c, d; cin >> …… 题解列表 2025年09月08日 1 点赞 0 评论 375 浏览 评分:7.0
哥德巴赫曾猜测思路简单解 摘要:解题思路:注意事项:参考代码:#include<iostream>#define MAX 32767using namespace std;bool isPrime(int num){&n…… 题解列表 2025年09月29日 0 点赞 0 评论 434 浏览 评分:7.0
计算数字位数and逆序和顺序输出 摘要:#include<stdio.h>#include<math.h>int main(){ int n, m, y, i, j, k = 1; …… 题解列表 2025年10月09日 3 点赞 0 评论 1303 浏览 评分:7.0
c++使用bool变量的简便方法 摘要:#include <iostream>using namespace std;int main() { int a; cin >> a; bool con3 = (a % 3 …… 题解列表 2025年10月27日 2 点赞 0 评论 245 浏览 评分:7.0
危险系数 (C++代码) 摘要:#include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; …… 题解列表 2017年12月03日 13 点赞 0 评论 2177 浏览 评分:6.9