2543: 简单计算机器实现 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() { int a…… 题解列表 2023年10月30日 0 点赞 0 评论 201 浏览 评分:9.9
2333: 信息学奥赛一本通T1182-合影效果 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; struct student{ str…… 题解列表 2023年10月30日 0 点赞 0 评论 236 浏览 评分:0.0
2233: 蓝桥杯算法训练-图形显示 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; …… 题解列表 2023年10月30日 0 点赞 0 评论 200 浏览 评分:0.0
2215: 蓝桥杯算法训练-1的个数 摘要:解题思路:注意事项:参考代码:#includeusing namespace std; int main() { long long a; int count=0; …… 题解列表 2023年10月29日 0 点赞 0 评论 254 浏览 评分:0.0
2216: 蓝桥杯算法训练-加法运算 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int GetTwoInts() { int a,b; cin>…… 题解列表 2023年10月29日 0 点赞 0 评论 177 浏览 评分:0.0
2222: 蓝桥杯算法训练-P0103 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { char ch; cin>>ch; …… 题解列表 2023年10月29日 0 点赞 0 评论 202 浏览 评分:0.0
优质题解 BFS板子题(C++版) 摘要:# 分析题意 这道题是一道BFS的板子题,属于是在网格中寻找最短路。在求解无边权最短路问题时,我们一般都可以采用BFS来做。 # BFS BFS简而言之,就是优先考虑离当前节点最近的所有点,再依…… 题解列表 2023年10月29日 0 点赞 0 评论 928 浏览 评分:9.9
暴搜求扫雷游戏地雷数 摘要:首先看这道题的数据范围,明显比较小。所以我们可以直接考虑暴力。 我们可以遍历每一个点,然后分别搜索每个点周围的雷的数量,然后直接输出。 一下是这种方式的代码。 ```cpp #include…… 题解列表 2023年10月28日 0 点赞 0 评论 558 浏览 评分:9.9
2330: 信息学奥赛一本通T1178-成绩排序 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; struct dev { …… 题解列表 2023年10月28日 0 点赞 0 评论 403 浏览 评分:0.0
2329: 信息学奥赛一本通T1177-奇度单增序列 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年10月28日 0 点赞 0 评论 302 浏览 评分:0.0