Ticket 6106
Problem 1671 -e
Submission 155184238
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
4
BBBABABBABBBBBA
Expected Output
32
Your Output
16
Difference
Generator Parameters
--pow_of_two_high 4 --pow_of_two_low 2