LIS race


Statement
You are given S contains only '1' - '9'.
Output the length of the longest increasing subsequence.

Constraint
* 1 ≤ |S| ≤ 27
Sample Input
Sample Output
Contest ID
0005
Writer
admin
Publish date
2020/05/24 22:30:00
Solved
55
Top player
kawatea