Ticket 16878
Problem 1841 -c
Submission 209455202
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
CDCEDCEDDCDDDDDCBEDE
Expected Output
40490
Your Output
40590
Difference
Generator Parameters
--t_high 100000 --t_low 100000 --s_len_high 20