就栈的基本应用 有解析 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int m,n; char a; while(cin >> …… 题解列表 2023年03月18日 0 点赞 0 评论 450 浏览 评分:0.0
蓝桥杯2017年第八届真题-k倍区间(C代码) 摘要:解题思路: 注意事项:参考代码:#include<stdio.h> int main(){ int n,k,i; scanf("%d%d",&n,&k); …… 题解列表 2023年03月18日 0 点赞 0 评论 427 浏览 评分:0.0
编写题解 1052: [编程入门]链表合并(c语言) 摘要: #include typedef struct student{ int id; int greed; struct student *next; }node; …… 题解列表 2023年03月18日 0 点赞 0 评论 390 浏览 评分:0.0
最小三个数 摘要:解题思路:先从小到大排序 ,在输出使用冒泡排序参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n]; int i,j,t;…… 题解列表 2023年03月19日 0 点赞 0 评论 382 浏览 评分:0.0
#C++1841——蓝桥杯2017年第八届真题-发现环 摘要:解题思路:因为是从1开始构造,就无需排序啦*******************************参考代码:#include <iostream> using namespace std; …… 题解列表 2023年03月19日 0 点赞 0 评论 470 浏览 评分:0.0
[编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>#define Area(S,a,b,c) sqrt(S*(S-a)…… 题解列表 2023年03月19日 0 点赞 0 评论 373 浏览 评分:0.0
蓝桥杯专题系列-1821(Python) 摘要:解题思路:模拟题注意事项:注意数据类型间的转化参考代码:n, m = map(int, input().split())low, high = int(pow(n, 0.5)), int(pow(m,…… 题解列表 2023年03月19日 0 点赞 0 评论 357 浏览 评分:9.9
快速排序法之分治法,挖坑填数法 摘要:解题思路:注意事项: 法一 分治法注意事项 内循环的while(i<j&&nums[j]>=key)和while(i<j&&nums[i]<=key) 必须加等号法二 挖坑填数法注意事项 …… 题解列表 2023年03月19日 0 点赞 0 评论 455 浏览 评分:0.0
2921: 整数奇偶排序 摘要:```cpp #include using namespace std; int a[1001],b[1001]; int x,l,l1; int main() { for(in…… 题解列表 2023年03月19日 0 点赞 0 评论 437 浏览 评分:9.9
同样的道理维护最大上升子序列 摘要:既让要求最长子序列的和,我们就在求最长子序列的过程中将数据存好: import java.util.ArrayList; import java.util.Arrays; import…… 题解列表 2023年03月19日 0 点赞 0 评论 532 浏览 评分:0.0