Almost Increasing Subsequence
1817A1500· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
9 81 2 4 3 3 5 6 2 11 31 42 56 63 77 81 88 8
Output
34314271
58%
1817A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
9 81 2 4 3 3 5 6 2 11 31 42 56 63 77 81 88 8
34314271