题解列表
最长公共子序列lcs(DP)
摘要:解题思路:DP注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nbs……
最长不下降子序列的长度(DP)
摘要:解题思路:DP注意事项:参考代码:#include<iostream>usingnamespacestd;constintN&nbs……
2025/7/26刷题记录
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int k; scanf("%d&qu……
2025/7/26刷题记录
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d ……
2025/7/26刷题记录
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu……
2025/7/26刷题记录
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu……
2025/7/26刷题记录
摘要:解题思路:找最大值 初始值为限制内最小值 找最小值 初始值找限制内最大值注意事项:参考代码:#include<stdio.h>int main(){ &……
2025/7/26刷题记录
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d&qu……