蓝桥杯算法提高VIP-单词个数统计 题解(c++谨慎型) 摘要:解题思路:看了以为大佬的讲解,恍然大悟,原来字符串必须要慎之又慎!注意事项:要用getline输入。参考代码:#include<bits/stdc++.h>using namespace std;st…… 题解列表 2022年05月12日 0 点赞 0 评论 265 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数 题解(c++枚举简单程序) 摘要:解题思路:运用勾股定理便可轻松解决这题。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int main(){ for(int i=…… 题解列表 2022年05月12日 0 点赞 0 评论 343 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 题解(c++ bool就欧了,很简单啦) 摘要:解题思路:这题我就是用cmp从大到小排序后输出前10个。大家也可以先sort从小到大排序后输出后10个,不过有些费脑去找坐标。我觉得打个bool也不多,不费时间,好一点。注意事项:无。参考代码:#in…… 题解列表 2022年05月12日 0 点赞 0 评论 266 浏览 评分:0.0
蓝桥杯算法提高VIP-Quadratic Equation 题解(c++超级简易的) 摘要:解题思路:就是用韦达定理来解决这题嘛!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double a,b,c;int main(){ …… 题解列表 2022年05月12日 0 点赞 0 评论 266 浏览 评分:0.0
不知道写啥 摘要:解题思路:把分母和分子拆开看注意事项:保留小数点后两位,注意定义类型参考代码:#include<iostream>#include<cmath>#include<iomanip>using names…… 题解列表 2022年05月11日 0 点赞 0 评论 229 浏览 评分:0.0
蓝桥杯算法训练VIP-字符串编辑 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char s[50]; char order,c…… 题解列表 2022年05月11日 0 点赞 0 评论 226 浏览 评分:0.0
数组的距离题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m; int ans; cin…… 题解列表 2022年05月11日 0 点赞 0 评论 179 浏览 评分:0.0
蓝桥杯算法提高VIP-Pascal三角 题解(c++简单啦) 摘要:解题思路:用递归算法简单水过。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;int c(int x,int y){ …… 题解列表 2022年05月11日 0 点赞 0 评论 251 浏览 评分:0.0
[编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15],z;int main(){ for(int i=1…… 题解列表 2022年05月11日 0 点赞 0 评论 406 浏览 评分:9.9
蓝桥杯算法提高VIP-剪刀石头布 c++(还算简单啦) 摘要:解题思路:不就是直接硬打吗?上简单程序!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ sc…… 题解列表 2022年05月11日 0 点赞 0 评论 255 浏览 评分:0.0