Ticket 10311
Problem 1671 -e
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
2
BAA
Expected Output
1
Generator Parameters
--pow_of_two_high 5 --pow_of_two_low 2