Ticket 6152
Problem 1671 -e
Submission 155316744
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
3
BBBABBA
Expected Output
4
Your Output
8
Difference
Generator Parameters
--pow_of_two_high 3 --pow_of_two_low 3