Ticket 11152
Problem 1690 -f
Submission 159849427
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
1
10
dacfaafeac
5 1 9 6 4 2 8 10 3 7 
Expected Output
30
Your Output
900
Difference
Generator Parameters
--alpha_size_high 9 --alpha_size_low 3 --n_high 10 --n_low 1 --t_high 2 --t_low 1