cf/mirror

Maxim and Increasing Subsequence

CF
261D2600· international gm6s256 MB⌨ stdin/stdout
#dp

Examples

Sample 1of 1
Input
3 3 5 2
3 2 1
1 2 3
2 3 1
Output
2
3
3
261D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)