换一种思路来写用set中upper_bound()函数 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <set>using namespace std;typedef long long ll…… 题解列表 2025年03月20日 1 点赞 0 评论 310 浏览 评分:10.0
蓝桥杯2024年第十五届省赛真题-好数,c语言包一清二楚 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,k=0,x;  …… 题解列表 2025年03月20日 4 点赞 0 评论 1295 浏览 评分:10.0
幸运儿(约瑟夫环-模拟+ Vector) 摘要:解题思路:模拟 + Vector注意事项:参考代码:#include<iostream>#include<vector>usingn…… 题解列表 2025年03月20日 1 点赞 0 评论 1092 浏览 评分:10.0
编写题解 2950: 素数回文数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() { int a, i, j, sum = 0, b[1…… 题解列表 2025年03月21日 3 点赞 0 评论 165 浏览 评分:10.0
恺撒密码-模拟 摘要:解题思路:模拟注意事项:参考代码:#include<iostream>usingnamespacestd;intmain(){ stri…… 题解列表 2025年03月21日 1 点赞 0 评论 99 浏览 评分:10.0
使用随机轴点避免最坏情况 摘要:#include <iostream>#include <cstdlib> // 用于随机数生成using namespace std;int arr[100000…… 题解列表 2025年03月23日 1 点赞 0 评论 103 浏览 评分:10.0
高精度板子题,重点为四舍五入 摘要://这道题目着重考察了高精度存储数字与高精度乘法,重点在于如何对小数进行四舍五入的计算和只输出整数部分include using namespace std;int n;strin…… 题解列表 2025年03月23日 1 点赞 0 评论 1305 浏览 评分:10.0
十四届省赛-平均 摘要:解题思路:注意事项:参考代码:import sysfrom collections import defaultdictdef main(): # 读取输入 &n…… 题解列表 2025年03月23日 1 点赞 0 评论 276 浏览 评分:10.0
输入输出练习之浮点数专题,基于C++语法 摘要:**解题思路:** 看过其他人的题解,但语法大多都是基于 `C` 语言的,虽然符合题目要求,但这就不是 `C++` 了,于是我打算写一个基于 `C++` 语法的题解。值得一提…… 题解列表 2025年03月23日 1 点赞 0 评论 170 浏览 评分:10.0
蓝桥杯2024年第十五届省赛真题-封闭图形个数 摘要:#include #include int ff(int a){ int tem=0; int sum=0; int flag=a; while(a>0) { …… 题解列表 2025年03月25日 3 点赞 0 评论 353 浏览 评分:10.0