cf/mirror

Maximum Substring

CF
1750B800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
5
11100
7
1100110
6
011110
7
1001010
4
1000
1
0
Output
9
12
16
12
9
1
1750B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)