蓝桥杯算法提高VIP-前10名 题解(c++ bool就欧了,很简单啦) 摘要:解题思路:这题我就是用cmp从大到小排序后输出前10个。大家也可以先sort从小到大排序后输出后10个,不过有些费脑去找坐标。我觉得打个bool也不多,不费时间,好一点。注意事项:无。参考代码:#in…… 题解列表 2022年05月12日 0 点赞 0 评论 454 浏览 评分:0.0
蓝桥杯算法提高VIP-Quadratic Equation 题解(c++超级简易的) 摘要:解题思路:就是用韦达定理来解决这题嘛!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double a,b,c;int main(){ …… 题解列表 2022年05月12日 0 点赞 0 评论 469 浏览 评分:0.0
不知道写啥 摘要:解题思路:把分母和分子拆开看注意事项:保留小数点后两位,注意定义类型参考代码:#include<iostream>#include<cmath>#include<iomanip>using names…… 题解列表 2022年05月11日 0 点赞 0 评论 378 浏览 评分:0.0
蓝桥杯算法训练VIP-字符串编辑 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char s[50]; char order,c…… 题解列表 2022年05月11日 0 点赞 0 评论 412 浏览 评分:0.0
数组的距离题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m; int ans; cin…… 题解列表 2022年05月11日 0 点赞 0 评论 350 浏览 评分: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 评论 438 浏览 评分: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 评论 570 浏览 评分:9.9
蓝桥杯算法提高VIP-剪刀石头布 c++(还算简单啦) 摘要:解题思路:不就是直接硬打吗?上简单程序!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ sc…… 题解列表 2022年05月11日 0 点赞 0 评论 411 浏览 评分:0.0
字符串的输出(C++)语言 摘要:解题思路:其实在int main(){}下写两个函数会更简单,不用单独再写两个函数注意事项:参考代码:#include<iostream>#include<string>using namespace…… 题解列表 2022年05月11日 0 点赞 0 评论 575 浏览 评分:0.0
蓝桥杯算法提高VIP-模拟计算器 题解(c++,switch) 摘要:解题思路:直接用switch按题目硬打就欧了!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int x,y;char z;int mai…… 题解列表 2022年05月11日 0 点赞 0 评论 472 浏览 评分:0.0