cf/mirror

Cases

CF
1995D2300· international master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
5 5 1
ABCDE
3 1 2
AAA
3 2 2
AAB
10 2 2
ABABABABAB
4 4 4
DCBA
1 17 1
Q
9 3 2
ABCABCABC
Output
5
1
2
1
1
1
2
1995D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)