Ticket 15964
Problem 1714 -a
Submission 166603953
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
2 2 1
0 2
0 1
Expected Output
22 0
Your Output
21 60
Difference
22 021 60
Generator Parameters
--H_high 3 --H_low 0 --M_high 3 --M_low 0 --hi_high 3 --hi_low 0 --mi_high 3 --mi_low 0 --n_high 3 --n_low 1 --t_high 1 --t_low 1