题解列表
3221: 蓝桥杯2024年第十五届省赛真题-数字诗意
摘要:解题思路:注意事项:参考代码:n = int(input().strip())l = list(map(int,input().strip().split()))c = 0for i in l: ……
1118: Tom数 C++
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
long long n;
while(cin >>……
蓝桥杯2024年第十五届省赛真题-封闭图形个数
摘要:解题思路:注意事项:参考代码:n = int(input().strip())l = list(map(int,input().strip().split()))l.sort()l0 = [1,2,3……
C语言训练-列出最简真分数序列*
摘要:解题思路:最大公约数为1注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
int gcd(int a, int ……
c语言代码,最长公共子序列
摘要:关于最长公共子序列讲解的相关链接,因为我自己讲不明白
[https://blog.csdn.net/hrn1216/article/details/51534607](https://blog.cs……
弟弟的作业(纯C++代码,不使用scanf)
摘要:解题思路:用while循环读取输入的算式,直到读取到空行,查找并记录运算符‘+’或者‘-’以及‘=’在字符串s中的位置,通过这两个位置,对字符串进行切片操作,最后进行判断。注意事项: 运用到了#inc……
C语言训练-委派任务*
摘要:解题思路:深搜递归注意事项:参考代码:#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
co……
C语言训练-字符串正反连接
摘要:解题思路:string reverse注意事项:参考代码:#include<iostream>
#include<cstdio>
#include<string>
#include<algori……