SVCE-ACM / A-December-of-Algorithms-2022

A December of Algorithms is a small collection of algorithms to implement this December. Finish it all to get a certificate. 🎄
MIT License
15 stars 90 forks source link

doubt on explanation of day25 #80

Closed GREEDnim closed 1 year ago

GREEDnim commented 1 year ago

for this question, day 25 , what does this mean in the explanation

The i-th line in the next N lines contains two numbers, v and x, which are the velocity and the current position of the i-th motorcyclist (1 <= v, x <= 100,000).

if there are only n motorcycles, how is x>n in the testcases?

krithika-2111 commented 1 year ago

Only n motorcycles exist, yet there are x positions. This indicates that the test cases are based on an analysis. As a result, x> n.