DP + двудольный -> LIS

NoSuchKey

рекомендация

отblog.csdn.net/shidonghang/article/details/103451390