题解列表
蓝桥杯2022年第十三届决赛真题-故障
摘要:# 蓝桥杯2022年第十三届决赛真题-故障
全概率与贝叶斯公式。
用100减去未出现的现象的对应故障的概率。
令各个现象为Ri, 故障为A,B,C...
则P(R1R2R3..Rm|A) ……
1111111111111111111111111111111111111111111111111111111111111111111111111111111111
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include <algorithm>using namespace std;int main(){……
[编程入门]结构体之时间设计
摘要:注意事项:1、从程序的第42行开始,不需要再写12月的代码了,因为第9行循环变量i最大范围是“最大的月份-1“,即12-1=11,不会轮到12月。2、一定要注意程序的第51行要加上一个‘;’,否则会出……
沸羊羊 2235: 蓝桥杯算法训练-P1103 复数运算 (结构体)
摘要:```cpp
#include
using namespace std;
typedef struct
{
double a;
double b;
}point……
沸羊羊 C# 1434: 蓝桥杯历届试题-回文数字
摘要:```cpp
#include
using namespace std;
int main()
{
int n;
cin>>n;
int q=1;
for(i……
沸羊羊 C# 1116: IP判断
摘要:```cpp
#include
using namespace std;
int main()
{
int a[4]={0};
string s;
while(cin>>……
使用实现区间查询最小值,和的线段树
摘要:解题思路:看注释注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 1000010#define INF 1000010……