Problem3362--【Div3】abc397c - 多样性切分

3362: 【Div3】abc397c - 多样性切分

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Sample Input Copy

5
3 1 4 1 5

Sample Output Copy

5

HINT

样例解释:

Source/Category