最长上升序列(动态规划) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int max(int a,int b){ int max=(a>b) ? a : b;&n…… 题解列表 2025年11月26日 0 点赞 0 评论 34 浏览 评分:0.0
3050: 最长上升子序列 摘要:解题思路:注意事项:dp[j]=max(dp[j],dp[i]+1);参考代码:#include<stdio.h>#include<stdlib.h>int max(int a…… 题解列表 2025年11月27日 0 点赞 0 评论 39 浏览 评分:0.0