题解列表
数据结构-集合union(基础)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef struct List{ int L[200]; int leng……
蓝桥杯2023年第十四届省赛真题-飞机降落
摘要:#include <bits/stdc++.h>
using namespace std;
// 该题,因为数据范围很小,所以可以 把所有的排列情况列出来
// 然后 每列出 一个飞机,……
信息学奥赛一本通T1424-喷水装置
摘要:解题思路:注意事项:整体思路是按照喷头的起始位置从小到大进行排序,然后依次放置喷头,直到覆盖整个地块或者没有剩余的喷头可以放置。#include<iostream>#include<algorithm……
3159: 蓝桥杯2023年第十四届省赛真题-填充
摘要:**最终答案(根据大佬模板修改、所写):**
```cpp
#include
using namespace std;
int count = 0;
string s;
int m……
蓝桥杯2023年第十四届省赛真题-飞机降落
摘要:参考代码:#include <stdio.h>#include <stdbool.h>#include <math.h>int vi[10],f[10];typedef struct { int Ti……
防御导弹---线性dp详细注释
摘要:解题思路:线性dp//dp[i][0]表示不去阻止第i个炮弹时的最大数(即前面i-1个炮弹的阻拦最大数)
// dp[i][1]表示组织第i个炮弹时的最大数注意事项:考虑前面炮弹高度等于后面炮弹高度……