[蓝桥杯2017年第八届真题-九宫幻方] DFS 摘要:## 思路:先找出未用的数字有哪些,再进行深搜找出全排列的数,然后放入九宫格中,最后进行检测看是否符合题意 ```cpp #include #define ULL unsigned long l…… 题解列表 2024年09月13日 0 点赞 1 评论 171 浏览 评分:9.9
必备技法--高精度乘法//vector版 摘要:###### 高精度乘法vector版 ```cpp #include #include #include #include #define int long long …… 题解列表 2024年09月13日 0 点赞 0 评论 210 浏览 评分:9.9
蓝桥杯2024年第十五届决赛真题-最小字符串 摘要:#贪心+二路归并 ```cpp #include #include #include using namespace std; int main(void) { ios::sync_w…… 题解列表 2024年09月13日 2 点赞 2 评论 1049 浏览 评分:6.3
必备技法--高精加//vector数组版 + string版 摘要:# 高精度加法vector版 使用vevtor容器 容量可变的优势 模拟高精度 本模板无难点 需要注意 输出答案之前要 反转结果 ```cpp #include #inclu…… 题解列表 2024年09月13日 0 点赞 0 评论 548 浏览 评分:9.9
bfs之八数码问题/一维化二维思路--蓝桥杯省赛2023 摘要:# 此题使用简单的宽搜解决 ###### 八数码原题链接请看[八数码原题链接](https://www.xfxcy.com/p/P0231 "八数码原题链接") ###### 分享一下我的洛谷…… 题解列表 2024年09月13日 1 点赞 0 评论 375 浏览 评分:9.9
借鉴大神的写法:写出自己的理解1047: [编程入门]报数问题 摘要:解题思路:看到大神写的不禁感叹! 我也是借鉴来的 首先我们要把题目搞清楚,将各个对象用C++的语言描述 n个人,首先应该想到 题解列表 2024年09月13日 0 点赞 0 评论 200 浏览 评分:0.0
A star/A * 路径规划算法 摘要:# A star/A * 路径规划算法 ## 曼哈顿距离介绍: [详情](https://baike.baidu.com/item/%E6%9B%BC%E5%93%88%E9%A1%BF%E8%B7…… 题解列表 2024年09月13日 0 点赞 1 评论 376 浏览 评分:9.9
[编程入门]利润计算(C语言) 摘要:解题思路:注意事项:参考代码:#includeint main(){ int l,j; scanf("%d",&l); if(l<=100000) { j=l*0…… 题解列表 2024年09月13日 0 点赞 1 评论 333 浏览 评分:6.0
[蓝桥杯2023年第十四届省赛真题-岛屿个数] 染色法+判断子岛(两次宽搜) 摘要:# 思路: 先找出所有岛屿数,同统计岛屿那一题 题目链接:[岛屿计数](https://www.xfxcy.com/p/P0232 "岛屿计数") > 岛屿计数 题目描述 给定一个 n * …… 题解列表 2024年09月13日 0 点赞 0 评论 774 浏览 评分:10.0
2810: 鸡尾酒疗法 摘要:解题思路:注意采取循环注意事项:参考代码:# 鸡尾酒疗法n=int(input())b=[]avg=0now=0for i in range(1,n+1): x,y=(map(int,input…… 题解列表 2024年09月13日 0 点赞 0 评论 305 浏览 评分:9.9