bfs之八数码问题/一维化二维思路--蓝桥杯省赛2023 摘要:# 此题使用简单的宽搜解决 ###### 八数码原题链接请看[八数码原题链接](https://www.xfxcy.com/p/P0231 "八数码原题链接") ###### 分享一下我的洛谷…… 题解列表 2024年09月13日 1 点赞 0 评论 435 浏览 评分:9.9
必备技法--高精加//vector数组版 + string版 摘要:# 高精度加法vector版 使用vevtor容器 容量可变的优势 模拟高精度 本模板无难点 需要注意 输出答案之前要 反转结果 ```cpp #include #inclu…… 题解列表 2024年09月13日 0 点赞 0 评论 593 浏览 评分:9.9
蓝桥杯2024年第十五届决赛真题-最小字符串 摘要:#贪心+二路归并 ```cpp #include #include #include using namespace std; int main(void) { ios::sync_w…… 题解列表 2024年09月13日 2 点赞 2 评论 1111 浏览 评分:6.3
必备技法--高精度乘法//vector版 摘要:###### 高精度乘法vector版 ```cpp #include #include #include #include #define int long long …… 题解列表 2024年09月13日 0 点赞 0 评论 243 浏览 评分:9.9
[蓝桥杯2017年第八届真题-九宫幻方] DFS 摘要:## 思路:先找出未用的数字有哪些,再进行深搜找出全排列的数,然后放入九宫格中,最后进行检测看是否符合题意 ```cpp #include #define ULL unsigned long l…… 题解列表 2024年09月13日 0 点赞 1 评论 203 浏览 评分:9.9
分段函数求值-三目运算符 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String…… 题解列表 2024年09月14日 1 点赞 0 评论 674 浏览 评分:2.0
【C语言+图解】通过双倍数组的数量插入数据,简单易懂 摘要:解题思路:通过创建二倍的数组大小来保证有地方插入注意事项:为了防止数组位置越界,第0项和最后一项要分开判断参考代码:#include<stdio.h> int main(){ //创建一个数…… 题解列表 2024年09月14日 0 点赞 0 评论 183 浏览 评分:9.9
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:1、定义数组类型及长度;2、利用for循环进行输入输出。注意事项:1、注意数组下标从0开始;输入输出时不要犯错。参考代码:#include<stdio.h>int main(){ i…… 题解列表 2024年09月14日 0 点赞 0 评论 284 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值(三目运算) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); //输入a,b,c三…… 题解列表 2024年09月14日 1 点赞 0 评论 293 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译(利用数组) 摘要:解题思路:利用数组和for循环输入输出,在循环中将输入值+4,再输出。注意事项:注意数组类型、数组下标。参考代码:#include<stdio.h> int main(){ char a[…… 题解列表 2024年09月14日 1 点赞 0 评论 680 浏览 评分:2.0