Ticket 1543
Problem 1646 -c
Submission 149054324
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
18
692
699
54
309
263
29
878
623
576
564
381
478
960
669
449
529
638
447
Expected Output
5
5
3
5
3
3
4
6
2
4
4
5
4
5
4
3
3
5
Your Output
5
5
4
5
4
3
5
7
2
4
4
6
4
5
4
3
4
6
Difference
Generator Parameters
--n_cap 1000000000000 --n_high 1000 --n_low 1 --t_cap 100 --t_high 20 --t_low 1