Ticket 2577
Problem 1657 -d
Submission 150849711
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
8 691223
424262 941447 593527
402158 821476 627405
367920 602747 790676
244704 59505 506547
373953 636164 394928
53 314848 672798
134096 235142 955547
4688 319888 37702
4
361724 761101944813
395482 499508997633
579106 473831453637
612951 146120741954
Expected Output
-1 -1 -1 -1
Your Output
194404 194404 194404 194404
Difference
Generator Parameters
--C_cap 1000000 --C_high 1000000 --C_low 1 --m_cap 300000 --m_high 10 --m_low 1 --monster_d_cap 1000000 --monster_d_high 1000000 --monster_d_low 1 --monster_h_cap 1000000000000 --monster_h_high 1000000000000 --monster_h_low 1 --n_cap 300000 --n_high 10 --n_low 1 --unit_d_cap 1000000 --unit_d_high 1000000 --unit_d_low 1 --unit_h_cap 1000000 --unit_h_high 1000000 --unit_h_low 1