Weighted Increasing Subsequences
1621G3200· legendary gm1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
456 4 8 6 541 2 3 433 2 244 5 6 5
Output
41206
58%
1621G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
456 4 8 6 541 2 3 433 2 244 5 6 5
41206