Ticket 14394
Problem 1674 -c
Submission 161844858
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
aaaaa
b
aaaaaaa
hddaia
Expected Output
32
-1
Your Output
6
-1
Difference
Generator Parameters
--alpha_size_high 15 --alpha_size_low 1 --q_high 2 --q_low 1 --string_len_high 15 --string_len_low 1