蓝桥杯2025年第十六届省赛真题-好串的数目 摘要:#### 解题思路1. **字符串转整数存储**: - 将输入字符串中的每个字符转换为整数,存储在数组 `a` 中。这样更容易进行数字比较。2. **分块统计**: …… 题解列表 2025年04月19日 1 点赞 0 评论 360 浏览 评分:0.0
C++:递归函数 摘要:```cpp#includeusing namespace std ;int ko ( int a[] , int len , int &Max ){ if ( len == 0 …… 题解列表 2025年04月18日 0 点赞 0 评论 137 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct Person{ char StudentID[5]; char…… 题解列表 2025年04月18日 0 点赞 0 评论 311 浏览 评分:0.0
3325 - 2025图形 摘要:解题思路:计算余数参考代码:#include<stdio.h>intmain(){ inth,w,i,j; chara[]=…… 题解列表 2025年04月18日 5 点赞 0 评论 404 浏览 评分:10.0
3331 - LQ图形 摘要:解题思路:注意到,参考代码:#include<stdio.h>intmain(){ intw,h,v,i,j; scanf("…… 题解列表 2025年04月18日 0 点赞 0 评论 190 浏览 评分:0.0
C++3种方法:5个for循环+map容器,3for+vector,3for+unordered_set+vector 摘要://map容器+5个for循环解决问题```cpp#include#includeusing namespace std ;int main ( ){ int n = 0 …… 题解列表 2025年04月18日 0 点赞 0 评论 176 浏览 评分:0.0
一元n次方程(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int i,j,n,a[1000];scanf("%d&…… 题解列表 2025年04月17日 0 点赞 0 评论 75 浏览 评分:0.0
C++:两种方法:递归函数 && 简单for循环 摘要:解题思路:注意事项:参考代码://递归函数#include<iostream>#include<vector>using namespace std ;void ko ( ve…… 题解列表 2025年04月17日 0 点赞 0 评论 78 浏览 评分:0.0
Who's in the Middle(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],i,j,s; scanf("%d&qu…… 题解列表 2025年04月17日 0 点赞 0 评论 105 浏览 评分:0.0
三种方法:sort()+multiset容器+递归函数 摘要:解题思路:注意事项:注意题目说可能有多组测试数据,所以要使用循环输入,我就是刚开始没注意,根本不知道自己代码哪里出问题了-_-参考代码://sort()#include<iostream>…… 题解列表 2025年04月17日 0 点赞 0 评论 155 浏览 评分:0.0