Problem3059--【Div2】蓝桥杯选拔2024年3月P4-分割数列

3059: 【Div2】蓝桥杯选拔2024年3月P4-分割数列

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

Description

Sample Input Copy

5
2 1 3 4 3

Sample Output Copy

1

Source/Category