- 0x01题面 给定一个长为n的序列,求它的最长上升子序列。 n<103n<103 子序列指序列中任意m个元素拼起来形成的新序列(可不连续) 0x02思路 考虑任意一个长为m的上升子序列... 0x01题面 给定一个长为n的序列,求它的最长上升子序列。 n<103n<103 子序列指序列中任意m个元素拼起来形成的新序列(可不连续) 0x02思路 考虑任意一个长为m的上升子序列...
- problem solution codes #include<iostream> #include<queue> using namespace std; struct x... problem solution codes #include<iostream> #include<queue> using namespace std; struct x...
- problem solution codes #include<cstdio> #include<cstring> #include<cmath> using ... problem solution codes #include<cstdio> #include<cstring> #include<cmath> using ...
- problem solution codes #include<iostream> using namespace std; const int maxn = 110; int tree... problem solution codes #include<iostream> using namespace std; const int maxn = 110; int tree...
- problem solution codes /* 作者:gwj1139177410 题目:p2627 村村通 */ //Kruskal #include<iostream> #incl... problem solution codes /* 作者:gwj1139177410 题目:p2627 村村通 */ //Kruskal #include<iostream> #incl...
- problem solution codes #include<cstdio> #include<algorithm> #include<cmath> using... problem solution codes #include<cstdio> #include<algorithm> #include<cmath> using...
- 提交:http://codevs.cn/problem/1048/ 递推 //f[i]:到i为止的LIS的长度。 //f[i]=max{1,f[j]+1|j<i&&aj<a... 提交:http://codevs.cn/problem/1048/ 递推 //f[i]:到i为止的LIS的长度。 //f[i]=max{1,f[j]+1|j<i&&aj<a...
- problem solution codes #include<iostream> #include<string> using namespace std; int mai... problem solution codes #include<iostream> #include<string> using namespace std; int mai...
- problem solution codes #include<iostream> using namespace std; const int maxn = 100010; #defi... problem solution codes #include<iostream> using namespace std; const int maxn = 100010; #defi...
- problem solution codes //MST-Prim-贪心-堆优化 #include<iostream> #include<algorithm> #includ... problem solution codes //MST-Prim-贪心-堆优化 #include<iostream> #include<algorithm> #includ...
- problem solution codes //MST-Kruskal-排序贪心+并查集 //题中N=M,(M小于N^2的)稀疏图用邻接表。 #include<iostream> #i... problem solution codes //MST-Kruskal-排序贪心+并查集 //题中N=M,(M小于N^2的)稀疏图用邻接表。 #include<iostream> #i...
- problem solution codes #include<iostream> using namespace std; int n, a[1010], t; int main(){... problem solution codes #include<iostream> using namespace std; int n, a[1010], t; int main(){...
- problem solution codes #include<iostream> using namespace std; int main(){ int n, k=1; c... problem solution codes #include<iostream> using namespace std; int main(){ int n, k=1; c...
- problem solution codes //Floyd-wallshall模板 #include<iostream> using namespace std; int n, e[1... problem solution codes //Floyd-wallshall模板 #include<iostream> using namespace std; int n, e[1...
- problem 给出一个n*n的矩阵,每一格有一个非负整数A[i][j],(Aij <= 1000)现在从(1,1)出发,可以往右或者往下走,最后到达(n,n)每达到一格,把该格子的数取出来,该格... problem 给出一个n*n的矩阵,每一格有一个非负整数A[i][j],(Aij <= 1000)现在从(1,1)出发,可以往右或者往下走,最后到达(n,n)每达到一格,把该格子的数取出来,该格...
上滑加载中
推荐直播
-
基于开源鸿蒙+海思星闪开发板:嵌入式系统开发实战(Day1)
2025/03/29 周六 09:00-18:00
华为开发者布道师
本次为期两天的课程将深入讲解OpenHarmony操作系统及其与星闪技术的结合应用,涵盖WS63E星闪开发板的详细介绍、“OpenHarmony+星闪”的创新实践、实验环境搭建以及编写首个“Hello World”程序等内容,旨在帮助学员全面掌握相关技术并进行实际操作
回顾中 -
基于开源鸿蒙+海思星闪开发板:嵌入式系统开发实战(Day2)
2025/03/30 周日 09:00-12:00
华为开发者布道师
本次为期两天的课程将深入讲解OpenHarmony操作系统及其与星闪技术的结合应用,涵盖WS63E星闪开发板的详细介绍、“OpenHarmony+星闪”的创新实践、实验环境搭建以及编写首个“Hello World”程序等内容,旨在帮助学员全面掌握相关技术并进行实际操作
回顾中 -
从AI基础到昇腾:大模型初探、DeepSeek解析与昇腾入门
2025/04/02 周三 16:00-17:30
不易 / 华为云学堂技术讲师
昇腾是华为研发的AI芯片,其具有哪些能力?我们如何基于其进行开发?本期直播将从AI以及大模型基础知识开始,介绍人工智能核心概念、昇腾AI基础软硬件平台以及昇腾专区,旨在为零基础或入门级学习者搭建从AI基础知识到昇腾技术的完整学习路径。
回顾中
热门标签