home archives github knives links
tags oj 洛谷 dp
categories
only title title and content
P1280

分析

dp[i] = max(dp[i], dp[i + 1] + 1);

Debug

  1. 二分搜索