This commit is contained in:
Zengtudor 2025-08-26 15:11:31 +08:00
parent ac99a0f6fb
commit 4f984539f1
2 changed files with 5 additions and 0 deletions

4
README.md Normal file
View File

@ -0,0 +1,4 @@
## 线性动态规划优化为O(nlogn)方法
>如果是递增序列就lower_bound
>如果是递减序列就手写二分

View File

@ -41,6 +41,7 @@ int main(){
} else {
*it = x;
}
pa(f);
}
std::cout << f.size() << std::endl;
return 0;