Yet Another LCP Problem
1073G2600· international gm2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
7 4abacaba2 21 21 23 11 2 371 711 2 3 4 5 6 72 21 51 5
Output
1321216
58%
1073G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
7 4abacaba2 21 21 23 11 2 371 711 2 3 4 5 6 72 21 51 5
1321216