Monotone Subsequence
2152E2100· master2s1024 MB⇄ interactive
Examples
Sample 1of 1
Input
212 1 221 12 2 3
Output
? 2 1 2! 1 2? 3 1 2 3? 3 2 3 5! 1 3 4
58%
2152E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…
212 1 221 12 2 3
? 2 1 2! 1 2? 3 1 2 3? 3 2 3 5! 1 3 4