Ticket 15969
Problem 1714 -d
Submission 166587546

Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.


Retry
Input
5
c
1
d
ddaa
1
d
aaaaa
1
a
dacd
1
d
e
1
e
Expected Output
-1
-1
5
1 1
1 2
1 3
1 4
1 5
-1
1
1 1
Your Output
-1
-1
-1
-1
1
1 1
Difference
-1-1
-1-1
5-1
1 1
1 2
1 3
1 4
1 5
-1-1
11
1 11 1
Generator Parameters
--alpha_size_high 9 --alpha_size_low 1 --n_high 5 --n_low 1 --q_high 1 --q_low 1 --s_len_high 5 --s_len_low 1 --t_len_high 9 --t_len_low 1