Ticket 1795
Problem 1647 -d
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
7
54 6
42 7
36 9
30 6
18 2
72 8
24 8
Expected Output
NO
NO
NO
NO
NO
NO
NO
Generator Parameters
--d_cap 1000000000 --d_high 9 --d_low 2 --multiplier_high 9 --multiplier_low 1 --params_help Help --t_cap 100 --t_high 7 --t_low 1