Problem1799--上升子序列

1799: 上升子序列

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

Description

Sample Input Copy

4
1 2 3 3

Sample Output Copy

4

HINT

对于 30% 的数据,N ≤ 5000 

对于 100% 的数据,N ≤ 105

Source/Category