利用中心对称思路来解决 摘要:解题思路:仔细观察图形,我们可以发现这是一个中心且轴对称图形。可以看作由一个图形经旋转变换得到的。可以分成8个相等的三角形,这里我用n=3来进行具体说明:...$$$$...$.$$$$.$...$.…… 题解列表 2021年04月14日 0 点赞 0 评论 395 浏览 评分:6.0
绝对清晰的矩阵求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int dp[3][3]; int i,j,q=0,p=…… 题解列表 2021年04月14日 0 点赞 0 评论 281 浏览 评分:8.0
编写题解 2332: 信息学奥赛一本通T1181-整数奇偶排序 -quick sort 摘要:解题思路:先分组,然后分别排序注意事项:最后建议不要一起输出参考代码:#include <stdio.h>#include <stdlib.h>int cmp(const void *a,const …… 题解列表 2021年04月14日 0 点赞 0 评论 451 浏览 评分:9.9
蓝桥杯算法提高VIP-扫雷 摘要:```java Scanner scanner=new Scanner(System.in); int z=1; while (true) { int n=scanner.…… 题解列表 2021年04月14日 0 点赞 0 评论 298 浏览 评分:0.0
核桃数量(c++代码实现,简单易懂) 摘要:解题思路:该题求的是最小公倍数注意事项:参考代码:#include <iostream> using namespace std; int main() { int a, b, c; …… 题解列表 2021年04月14日 0 点赞 0 评论 436 浏览 评分:8.3
1432: 蓝桥杯2013年第四届真题-剪格子(Python3)DFS 摘要:解题思路:注意事项:参考代码:def dfs(x=0, y=0, add_all=0): global map_, visited, around, sum_, res, end_flag …… 题解列表 2021年04月14日 0 点赞 0 评论 238 浏览 评分:2.0
回文串-题解 摘要: 参考代码:#include"bits/stdc++.h" using namespace std; char str[280]; bool check(char *s,int a,int b)…… 题解列表 2021年04月14日 0 点赞 0 评论 236 浏览 评分:0.0
蓝桥杯历届试题-回文数字(C语言) 摘要:解题思路:两个函数:1.求各位数之和;2.判断是否为回文数字。注意事项:可用sprintf()把数字转化为字符串方便操作。参考代码:// [蓝桥杯][历届试题]回文数字#include <stdio.…… 题解列表 2021年04月14日 0 点赞 0 评论 386 浏览 评分:9.9
大神的探险 之 破解密码 -注意范围 摘要:注意事项:因为a,b的范围为int 所以相加超int,用long long 即可参考代码:#include"bits/stdc++.h" using namespace std; int mai…… 题解列表 2021年04月14日 0 点赞 0 评论 213 浏览 评分:9.0
凯撒密码--易理解 摘要:解题思路:例:由B变为W B的ASCII码为66 W的ASCII码为87 即为+21注意事项:取余26参考代码:#include"bits/stdc++.h" using namesp…… 题解列表 2021年04月14日 0 点赞 0 评论 430 浏览 评分:9.9