String Game
778A1700· expert2s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
ababcbaabb5 3 4 1 7 6 2
Output
3
Sample 2of 2
Input
bbbabbbb1 6 3 4 2 5
Output
4
58%
778A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
ababcbaabb5 3 4 1 7 6 2
3
bbbabbbb1 6 3 4 2 5
4