最长公共子序列lcs 摘要:解题思路:注意事项:参考代码:s1, s2 = map(str, input().split())dp = [[0] * (len(s2)+1) for i in range(len(s1)+1)]f…… 题解列表 2023年03月13日 0 点赞 0 评论 404 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-修剪灌木 摘要:####解题思路 假设当前位置为 i: 1.若是向右修剪,将会经过 i+1, i+2, ⋅⋅⋅, n-1, n; 再经过 n, n-1, ⋅⋅⋅, i+2, i+1; 则经过了 2 * (n…… 题解列表 2023年03月13日 0 点赞 1 评论 857 浏览 评分:9.9
蓝桥杯做题笔记 x进制减法xxxx 摘要: import java.io.IOException; import java.util.Scanner; public class Main { public static vo…… 题解列表 2023年03月13日 0 点赞 1 评论 939 浏览 评分:9.9
蓝桥杯2018年第九届真题-航班时间-暴力解法 摘要:解题思路:注意事项:参考代码:import ren=int(input())ls=[]while n!=0: a=list(map(str,input().split())) b=list…… 题解列表 2023年03月13日 0 点赞 0 评论 431 浏览 评分:2.0
砍竹子---优先队列的妙用 摘要:#### 题目描述  #### 思路 题目第一眼就是贪心取最大值,每次砍…… 题解列表 2023年03月13日 1 点赞 0 评论 1300 浏览 评分:6.3
蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:####解题思路 > 设 w 为星期,x 为 a 的天数,y 为 b 的天数得不等式: $$(a \cdot 5 + b \cdot 2) \cdot w + a \cdot x + b \c…… 题解列表 2023年03月13日 0 点赞 0 评论 583 浏览 评分:9.9
时间显示(Java代码详解) 摘要:解题思路:注意事项:import java.util.Scanner;public class Main { public static void main(String[] args) { …… 题解列表 2023年03月13日 0 点赞 0 评论 508 浏览 评分:9.9
1636: 蓝桥杯算法训练VIP-整除问题——Ccp 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int min,max,factor,i; scanf("%d %d %d",&min,&max,&factor…… 题解列表 2023年03月13日 0 点赞 0 评论 366 浏览 评分:0.0
1585: 蓝桥杯算法训练VIP-链表数据求和操作——Ccp 摘要:解题思路:注意事项:参考代码:#include<stdlib.h>#define len sizeof(struct num)struct num{ int rnum; int vnum; struc…… 题解列表 2023年03月13日 0 点赞 0 评论 417 浏览 评分:9.9
题目 1025: 数组插入处理——三种情况考虑周全,逐一击破 摘要:解题思路: 将插入的x分为三种情况:第一是x<a[0];第二种是x>a[8];第三种就是x>a[0] && x <=a[8];注意事项:不要忽略了任何一种情况,比如现在的这个优质题解就是“面向答案”编…… 题解列表 2023年03月13日 0 点赞 0 评论 469 浏览 评分:0.0