cf/mirror

Deciphering

CF
491C2300· international master1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
10 2
aaabbbaaab
bbbbabbbbb
Output
7
ba
Sample 2of 3
Input
10 2
aaaaaaabbb
bbbbaaabbb
Output
6
ab
Sample 3of 3
Input
9 4
dacbdacbd
acbdacbda
Output
9
cdba
491C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…