Substring Removal
1096B1300· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
4abaa
Output
6
Sample 2of 3
Input
7aacdeee
Output
6
Sample 3of 3
Input
2az
Output
3
58%
1096B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4abaa
6
7aacdeee
6
2az
3