蓝桥杯算法提高VIP-计算质因子 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;bool isprime(int x) { //判断质数 for(int i …… 题解列表 2022年05月08日 0 点赞 0 评论 371 浏览 评分:2.0
Jam的计数法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long LL;namespace IO{ inli…… 题解列表 2022年05月08日 0 点赞 0 评论 534 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char L[10001]={0}; int a…… 题解列表 2022年05月08日 0 点赞 0 评论 431 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int apple = 10; // 苹果数量int main() {…… 题解列表 2022年05月08日 0 点赞 0 评论 353 浏览 评分:0.0
1096: Minesweeper 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define MAX 100 // 地图最大尺寸 using namespace std; char position[M…… 题解列表 2022年05月08日 0 点赞 0 评论 453 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main () { int cow[56] = {0,1,2,3,…… 题解列表 2022年05月08日 0 点赞 0 评论 359 浏览 评分:0.0
信息学奥赛一本通T1252-走迷宫 摘要:``` #include #define x first #define y second using namespace std; typedef pair pii; …… 题解列表 2022年05月08日 0 点赞 0 评论 586 浏览 评分:6.0
蓝桥杯算法训练VIP-方格取数(c++代码) 摘要:解题思路:思路见代码注意事项:参考代码:#include<cstdio> #include<algorithm> using namespace std; struct point { …… 题解列表 2022年05月08日 0 点赞 0 评论 495 浏览 评分:9.9
信息学奥赛一本通T1255-迷宫问题 摘要:``` #include #define x first #define y second using namespace std; typedef pair pii; …… 题解列表 2022年05月08日 0 点赞 0 评论 603 浏览 评分:9.9
马拦过河卒(c++代码) 摘要:解题思路这道题初始位置是从 0 开始的,这样不是很利于我们解题,所以不如暂且把这题里涉及的坐标统统 +1,那么初始位置就从 (0,0)(0,0) 变成了 (1,1)(1,1)。先考虑如果没有任何马的限…… 题解列表 2022年05月08日 0 点赞 0 评论 1120 浏览 评分:9.2