cf/mirror

Necklace Assembly

CF
1367E1900· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
6 3
abcbac
3 6
aaa
7 1000
abczgyo
5 4
ababa
20 10
aaebdbabdbbddaadaadc
20 5
ecbedececacbcbccbdec
Output
6
3
5
4
15
10
1367E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…