Ticket 17227
Problem 1705 -c
Submission 1
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
5 4 9
iahba
1 4
3 6
2 5
3 7
9
2
7
1
21
17
14
12
20
Expected Output
b
a
a
i
i
a
a
a
a
Your Output
b
a
a
i
b
a
a
a
a
Difference
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