蓝桥杯2019年第十届省赛真题-糖果 状态压缩dp 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class 糖果 { static int[] dp…… 题解列表 2023年03月26日 0 点赞 0 评论 232 浏览 评分:0.0
水仙花数判断 摘要:for i in range(1,9): for j in range(0,9): for k in range(0,9): if i*100+j*10+k=…… 题解列表 2023年03月26日 0 点赞 0 评论 217 浏览 评分:0.0
python不同单词个数统计 摘要:解题思路:set去重注意事项:参考代码:L = list(map(str,input().split()))L = list(set(L))print(len(L))…… 题解列表 2023年03月26日 0 点赞 0 评论 213 浏览 评分:0.0
自定义函数 摘要:def fact(n): x=1 for i in range(1,n+1): x=x*i return x def mypow(x,n): …… 题解列表 2023年03月26日 0 点赞 0 评论 205 浏览 评分:0.0
py最多82分此题 摘要:解题思路:注意事项:参考代码:n,m,x=map(int,input().split())a=[0]+list(map(int,input().split()))dp=[0]*100010hash=[…… 题解列表 2023年03月26日 0 点赞 0 评论 393 浏览 评分:4.7
加油,双指针真快 摘要:解题思路:双指针注意事项:使用两重循环发现有6个数据超时,找出全部子串进行比较又内存超过限制。使用双指针成为最优解,注意理解while循环的内容,这是核心。可以参考b站up关于42号星球的讲解视频。,…… 题解列表 2023年03月26日 0 点赞 0 评论 299 浏览 评分:9.9
自定义函数之字符串连接(單個100字符內) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void fun_0(char *a,char *b,char *c,int len_a,int len_b);//函數聲明 in…… 题解列表 2023年03月26日 0 点赞 0 评论 295 浏览 评分:9.9
1072: 汽水瓶 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include…… 题解列表 2023年03月26日 0 点赞 0 评论 168 浏览 评分:0.0
2690: 蓝桥杯2022年第十三届省赛真题-重新排序 摘要:参考代码:import java.util.Arrays; import java.util.Scanner; public class Main { public static void…… 题解列表 2023年03月26日 0 点赞 0 评论 386 浏览 评分:9.3
C程序字符串反轉(100字符內) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> void function_1(char *a,char *b,int len_1);//函數聲明…… 题解列表 2023年03月26日 0 点赞 0 评论 185 浏览 评分:9.9