250,000 rockets racing in parallel tracks across space. Each rocket i has a starting position x_i and a constant velocity v_i (bounded by 100) with which it will move. Assume that the rockets are enumerated in order of their starting position.
Thus, initially the rockets are lined up as:
-----x---------------------------------------------------------> (x1,v1) ---------x-----------------------------------------------------> (x2,v2) ----------------x----------------------------------------------> (x3,v3) .... ---------------------------x------------------------------------> (x250000,v250000)
Constraints
Problems
©IARCS 2012–2016
Pěstujeme web | visit: Skluzavky