(cC语言超简单版)奥运奖牌计数 摘要:解题思路:分别计算金银铜三种的数量,这里要用到2维数组注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[100][3]; int…… 题解列表 2022年11月12日 0 点赞 0 评论 464 浏览 评分:8.5
1187: 假币问题 摘要:```cpp #include #include using namespace std; int main() { int n; cin>>n; while(…… 题解列表 2022年11月30日 1 点赞 0 评论 539 浏览 评分:8.5
飞机降落蓝桥杯 摘要:解题思路:// 错误点 // vis是否需要清0,不需要,最后回溯,完成清0// come use dw 关系// 主要到time取max(time,come[i]) ;; //如果time < co…… 题解列表 2023年05月03日 0 点赞 0 评论 2031 浏览 评分:8.5
鸡尾酒疗法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double x,y,d,d1…… 题解列表 2023年11月12日 0 点赞 0 评论 517 浏览 评分:8.5
题解 2751: 超级玛丽游戏 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" ********"<…… 题解列表 2023年12月05日 0 点赞 0 评论 265 浏览 评分:8.5
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:gets,puts,strlen()函数注意事项:因为在将b的值赋给a的过程中并非是所有元素都有赋值,并且末尾没有结束符,而puts()输出字符串时要遇到'\0’也就是字符结束符才停…… 题解列表 2024年02月08日 0 点赞 0 评论 653 浏览 评分:8.5
飞机降落-详细注释易看懂(暴力枚举) 摘要:解题思路:n限制小,选择暴力枚举,找到降落顺序,详细注释注意事项:参考代码:#include using namespace std; const int N = 10+20; struct pl…… 题解列表 2024年03月03日 0 点赞 2 评论 1225 浏览 评分:8.5
岛屿个数--bfs+dfs--注释易懂 摘要:解题思路:要统计不包含子岛屿(外岛)的数量,选择从外到内去找岛屿 从四条边的海区(0)去找 ,当他的 8个方向(上下左右、左上、右上、左下、右下) 都是岛屿 时,那这些小岛就组成了一个大的岛 当其中一…… 题解列表 2024年03月04日 0 点赞 1 评论 864 浏览 评分:8.5
【导入math库】求最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:import mathm,n=map(int,input().split())a=math.gcd(m,n) //gcd是求出最大公因数b=(m*n)//a …… 题解列表 2024年03月18日 0 点赞 0 评论 635 浏览 评分:8.5
蓝桥杯2024年第十五届省赛真题-宝石组合 摘要:```cpp #include #include #include #include #include #include using namespace std; in…… 题解列表 2024年04月18日 3 点赞 0 评论 1815 浏览 评分:8.5