10 2022 档案
摘要://双端队列,两边 using namespace std; typedef char ElemType; #include <time.h> #include <stdlib.h> #include <iostream> #define MaxSize 30 class DequeType{ pu
阅读全文
摘要:https://ac.nowcoder.com/acm/problem/13134 动态规划 概述: 给出数组,求出最长的递增序列(可以是删除其中一个数字的序列),输出递增序列的长度 #include<cstdio> int main(){ int b,c,d,e,m,n,i; scanf("%d"
阅读全文