Ticket 16813
Problem 1805 -e
Submission 200885370
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
4
3 1
1 2
1 4
1 2 1 1 
Expected Output
1
1
1
Your Output
0
1
1
Difference
Generator Parameters
--n_high 4 --n_low 2 --val_high 2 --val_low 1