Ticket 7508
Problem 1679 -e
Submission 158364156
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
8
??bd????
2
dcba
ba
Expected Output
47376
840
Your Output
46400
840
Difference
Generator Parameters
--alpha_size_high 5 --alpha_size_low 1 --n_high 9 --n_low 1 --q_high 15 --q_low 1