题解列表
2576: 蓝桥杯2020年第十一届省赛真题-解码
摘要: #include
#include
#include
using namespace std;
char str1[100];
char st……
题解 1668: printf基础练习2
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
int main()
{
int num;
// 读取输入整数
scanf("%d", &n……
3151: 蓝桥杯2023年第十四届省赛真题-飞机降落
摘要:#include<iostream>using namespace std;const int N = 15;//创建飞机结构体struct plane { int Ti, Di, Li;}p[N];……
三行简便 编写题解 2797: 最高的分数
摘要:解题思路:map;list;max注意事项:仔细检查中英文符号参考代码:n=int(input())a=list(map(int,input().split()))print(max(a))……
两行简便 编写题解 2776: A*B问题
摘要:解题思路:map,split注意事项:a,b=map(int,input().split())参考代码:a,b=map(int,input().split())print(a*b)……
八行简便 编写题解 2774: 计算三角形面积
摘要:解题思路:海伦公式,p=0.5*(a+b+c)注意事项:import math参考代码:import mathx1,y1,x2,y2,x3,y3=map(float,input().split())a……
蓝桥杯2016年第七届真题-密码脱落
摘要:解题思路:将字符串与反转后的字符串跑一遍最长公共子序列就可以的出最长回文串的长度,减去字符串的长度就可以的出脱落的个数注意事项:参考代码:#include<bits/stdc++.h>
using ……
题解 2821: 开关灯 (思路:单个灯泡按顺序判断并输出)
摘要:```c
#include
#include
int main()
{
int i,j,N,M,sign=0;
bool a;
scanf("%d%d",&N……