Ticket 15723
Problem 1705 -c
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
7 5 6
aaaaaaa
2 5
6 11
8 16
7 25
4 20
53
58
23
60
26
4
Expected Output
a
a
a
a
a
a
Generator Parameters
--alpha_size_high 9 --alpha_size_low 1 --c_high 5 --c_low 1 --n_high 9 --n_low 1 --q_high 9 --q_low 1 --t_high 1 --t_low 1