3209: 蓝桥杯2024年第十五届省赛真题-好数 简单易懂的方法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;//个,百,万是奇数位,十,千,十万是偶数位int ishaoshu(i…… 题解列表 2025年03月03日 8 点赞 1 评论 1473 浏览 评分:0.0
二分+哈希表 摘要:解题思路:利用哈希表存储数据的位置,然后利用二分法减少时间复杂度,空间换时间。注意事项:注意数据的存储结构参考代码:import java.util.*;public class Main { &nb…… 题解列表 2025年03月03日 0 点赞 0 评论 558 浏览 评分:0.0
编写题解 1431: 蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,num[100]={0}, bu = 0, i, f = 0; scanf("…… 题解列表 2025年03月03日 0 点赞 0 评论 386 浏览 评分:0.0
dfs遍历结点 摘要: #include using namespace std; const int N = 55; int arr[N][N], v[N], n; void dfs(int a,…… 题解列表 2025年03月03日 0 点赞 0 评论 295 浏览 评分:0.0
超详细的思路历程 摘要:参考代码:#include<stdio.h>#include<string.h>/* 解密 1.一个大写字母(原文)对应一个大写字母(密文) 2.给你一个原文和一个密文,要求你…… 题解列表 2025年03月03日 0 点赞 0 评论 251 浏览 评分:0.0
蓝桥杯2018年第九届真题-递增三元组 简单二分 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;#definell&nb…… 题解列表 2025年03月03日 2 点赞 0 评论 268 浏览 评分:0.0
数列排序(数组原地改变) 摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { Scanner sc = new Scanner(System…… 题解列表 2025年03月04日 0 点赞 0 评论 324 浏览 评分:0.0
排序日期(重写Comparator的compare方法) 摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { Scanner sc = new Scanner(System…… 题解列表 2025年03月04日 0 点赞 0 评论 565 浏览 评分:0.0
嘻嘻,记录一下子 摘要:#includeint main(void){ int N; int i; int j; int n; scanf("%d",&N); …… 题解列表 2025年03月04日 0 点赞 0 评论 709 浏览 评分:0.0
嘻嘻,再记录一下子 摘要:#includeint main(void){ int N; int i; int num[1000]; scanf("%d",&N); …… 题解列表 2025年03月04日 0 点赞 0 评论 512 浏览 评分:0.0