You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

556 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

UVA12983 The Battle of Chibi

题目传送门

离散+dp动规+树状数组优化

状态表示 dp[i][j] 表示以第 i 个数结尾,长度为 j严格上升子序列 的个数

状态转移

\large dp[i][j]=\sum_{k=1,a_k<a_i}^{i-1} dp[k][j-1]

TODO 挖坑待填

现在还没有复习树状数组、线段树等知识等复习后第三轮复习DP斜率优化时再综合树状数组的知识对此详细理解撰写题解。 2022-9-30