优质题解 预处理 + 双端队列 摘要:# 预处理 + 单调队列 + 滑动窗口 ## 前言 俗话说的好,先易后难。我们先看一下这道题的一维版本:[1438. 绝对差不超过限制的最长连续子数组 ](https://leetcode.cn…… 题解列表 2023年06月09日 0 点赞 1 评论 919 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h> int main(){ char str[501]; gets(str); …… 题解列表 2023年06月09日 0 点赞 0 评论 327 浏览 评分:0.0
线性欧拉筛+前缀和 摘要:解题思路:可以看我写的题解 https://blog.csdn.net/weixin_61067952/article/details/131122831?spm=1001.2014.3001.5…… 题解列表 2023年06月09日 0 点赞 0 评论 329 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))a=sorted(a)for i in a: print(i,end=" ")…… 题解列表 2023年06月09日 0 点赞 0 评论 401 浏览 评分:0.0
弟弟的作业(C语言) 摘要:#include<stdio.h> #include<string.h> int main() { int a, b , e; char c; int k; int s…… 题解列表 2023年06月09日 0 点赞 0 评论 204 浏览 评分:0.0
[编程入门]选择排序 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))a=sorted(a)for i in a: print(i,end=" ")…… 题解列表 2023年06月09日 0 点赞 0 评论 316 浏览 评分:0.0
汽水瓶(C语言) 摘要:汽水瓶 #include<stdio.h> int main() { int n; int sum = 0; int k = 0; int b = 0; int a…… 题解列表 2023年06月09日 0 点赞 0 评论 200 浏览 评分:0.0
编程入门]筛选N以内的素数 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(2,n+1): for j in range(2,int(i**0.5+1)): if i%…… 题解列表 2023年06月09日 0 点赞 0 评论 481 浏览 评分:9.9
每天经受2道代码的小白写的一个背包问题 摘要:解题思路:注意事项:参考代码:/*装箱问题。有一个箱子容量为v(正整数,o≤v≤20000),同时有n个物品(o≤n≤30), 每个物品有一个体积 (正整数)。要求从 n 个物品中,任取若干个…… 题解列表 2023年06月09日 0 点赞 0 评论 396 浏览 评分:9.9
[编程入门]阶乘求和(python) 摘要:解题思路:注意事项:参考代码:n=int(input())a=1b=0for i in range(1,n+1): a=a*i b+=aprint(b)…… 题解列表 2023年06月09日 0 点赞 0 评论 314 浏览 评分:0.0