Ticket 2643
Problem 1657 -d
Submission 150945886
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
5 1
1 5 9
1 3 5
1 1 3
1 4 2
1 9 9
9
5 1
9 6
3 2
1 2
3 1
3 1
5 5
1 3
9 5
Expected Output
1 1 1 1 1 1 1 1 1
Your Output
1 -1 1 1 1 1 1 1 -1 
Difference
Generator Parameters
--C_cap 1000000 --C_high 9 --C_low 1 --m_cap 300000 --m_high 9 --m_low 1 --monster_d_cap 1000000 --monster_d_high 9 --monster_d_low 1 --monster_h_cap 1000000000000 --monster_h_high 9 --monster_h_low 1 --n_cap 300000 --n_high 9 --n_low 1 --unit_d_cap 1000000 --unit_d_high 9 --unit_d_low 1 --unit_h_cap 1000000 --unit_h_high 9 --unit_h_low 1