Ticket 6584
Problem 1674 -c
View hacks & all small testcases

Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.


Retry
Input
2
aaaaaaaaaaaaaa
abeaccacbd
aa
dfe
Expected Output
-1
4
Generator Parameters
--alpha_size_high 15 --alpha_size_low 1 --q_high 2 --q_low 1 --string_len_high 15 --string_len_low 1