You are given N objects moving along a one-dimensional system.
For each object i:
position[i] denotes its initial position.velocity[i] denotes its velocity.velocity[i] > 0,…
Unlock the full statement, examples, constraints, and solution guidance.
…
C[i] ≥ 0Input
4 10
3 5 12 20
Output
26
Eternal • Pending
Inmobi • Pending
Inmobi • Pending
Inmobi • Pending
Squarepoint Capital • Pending