蓝桥杯2019年第十届省赛真题-人物相关性分析(滑动窗口) 摘要:```C++ #include #include #include /* 注意!如果你只拿了91分,那么很可能是你没开longlong!!! 思路:预处理得到a[i]、b[i…… 题解列表 2022年04月06日 0 点赞 0 评论 639 浏览 评分:0.0
[编程入门]数组插入处理——Python 摘要:解题思路:python自带的sort注意事项:参考代码:l = list(map(int,input().split()))n = int(input())l.append(n)l.sort()for…… 题解列表 2022年04月06日 0 点赞 0 评论 383 浏览 评分:0.0
1026: [编程入门]数字逆序输出——Python 摘要:解题思路:利用python中的切片注意事项:参考代码:l = list(map(int,input().split()))for i in l[::-1]: print(i,end = '…… 题解列表 2022年04月06日 0 点赞 0 评论 590 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1,c2,c3,c4,c5; scanf("%c%c%c%c%c",&c1,&c2,&c…… 题解列表 2022年04月06日 0 点赞 0 评论 332 浏览 评分:0.0
编写题解 1005: [编程入门]温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double f,c; scanf("%lf",&f); c=5*(f-32)/9; print…… 题解列表 2022年04月06日 0 点赞 0 评论 389 浏览 评分:0.0
利用列表的比较器直接进行排序 摘要:import java.util.*;public class Main { static Scanner in=new Scanner(System.in); public static…… 题解列表 2022年04月06日 0 点赞 0 评论 310 浏览 评分:0.0
List直接比较器 摘要:import java.util.*;public class Main { static Scanner in=new Scanner(System.in); public static…… 题解列表 2022年04月06日 0 点赞 0 评论 333 浏览 评分:0.0
1567: 蓝桥杯算法提高VIP-超级玛丽 摘要:```python n,m = map(int,input().split()) li = list(map(int,input().split())) dp = [0]*(n+1) dp[1…… 题解列表 2022年04月07日 0 点赞 0 评论 1051 浏览 评分:0.0
非常暴力的解法 摘要:```python def f(s):#判断是否对称 if s==s[::-1]: return True else: return Fals…… 题解列表 2022年04月07日 0 点赞 0 评论 454 浏览 评分:0.0
先用while循环算出答案,直接用while会时间超限,将while改成for循环 摘要:解题思路:注意事项:参考代码:for i in range(2,194980): b=0 for j in str(i): b=int(j)**5+b if b==i:…… 题解列表 2022年04月07日 0 点赞 0 评论 393 浏览 评分:0.0