Ticket 6035
Problem 1671 -e
Submission 155117121
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
BBAABAB
Expected Output
8
Your Output
4
Difference
Generator Parameters
--pow_of_two_high 5 --pow_of_two_low 2