题解列表
蓝桥杯2023年第十四届省赛真题-飞机降落
摘要:#include <bits/stdc++.h>
using namespace std;
// 该题,因为数据范围很小,所以可以 把所有的排列情况列出来
// 然后 每列出 一个飞机,……
1350: 分糖果-c++直接上模板
摘要:解题思路:传递糖果的方式是广搜,先定义一个node结构体struct node
{
int num;//节点编号
int step;//访问步数
};然后直接上广搜模板void……
数据结构-集合union(基础)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef struct List{ int L[200]; int leng……
python选择排序
摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))a.sort()for i in a: print(i)……
汽水瓶(python代码)
摘要:解题思路:注意事项:参考代码while True: n=int(input()) if n==0: break c=0 while n>=3: c=……
C++两个函数求阶乘和x的平方,并通过主函数调用;
摘要:解题思路:注意事项:注意返回值为double类型参考代码:#include<iostream>#include<math.h>#include<iomanip>using namespace std;……
自定义函数之数字后移
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {static Scanner sc=new Scanner(System.in);……