4588: P1181 数列分段 Section I
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description

Input

Output

Sample Input Copy
5 6
4 2 4 5 1
Sample Output Copy
3
HINT
