Dense Subsequence
724D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3cbabc
Output
a
Sample 2of 3
Input
2abcab
Output
aab
Sample 3of 3
Input
3bcabcbaccba
Output
aaabb
58%
724D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)