题解列表
2986: 判断元素是否存在,递推解法!!!
摘要:解题思路: 注意输入中间有一个逗号,一开始没注意错的都让我怀疑题目有问题了,呜呜呜注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
……
3022: 流感传染一眼丁真
摘要:解题思路: 遍历数组s在哪有@,有就在另一个数组上标记为1;数组s遍历完后,遍历数组a,在有标记的位置对应数组s[ i ][ j ],后判断是s[ i ][ j ]四个方向是否能被感染;……
题目 3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属
摘要:
#include <bits/stdc++.h>
#define int long long
#define debuga(v, i) cout << #v << "[" << i << "]……
3022: 流感传染 呜呜呜呜呜呜呜呜呜呜
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
int main(){
// 定义变量n和m,以及sum用于计数
……
格式化输出用printf #2609: 蓝桥杯2021年第十二届省赛真题-时间显示
摘要:```
#define _CRT_SECURE_NO_WARNINGS 1
#include
#include
#include
#include
#include
#include
……