1209: 上升子序列

Memory Limit:128 MB Time Limit:2.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

Sample Input Copy

4
1 2 3 3

Sample Output Copy

4

HINT

对于 30% 的数据,N ≤ 5000 

对于 100% 的数据,N ≤ 105

Source/Category