Description: There is now a series, you need to obtain the series meet the following requirements of the longest sub-series. Sub-series Requirements: This sub-series may be divided into before and after the two parts, and the two share a series of items (ie the first part of the last series of items and the last part of the first number listed item is same number of column item) sub-series The first part should be strictly increasing, the last part of the strictly decreasing. For example, series 146 521 can be divided into 146 and 6521 these two. They contain a series of item 6, and the former is the strictly increasing, which is the strictly decreasing.
- [forests] - Kazakhstan Engineering University oj on
File list (Check if you may need any files):
1004.cpp