+ 1
Anyone has any way to solve this
3 odpowiedzi
0
I can only offer my idea of a simple algorithm to count the minimum numbers of platforms required.
If you cycle through the minutes (maybe 5 minutes at a time as all except one are multiples of 5) and see how many buses are waiting at each time. The maximum number of buses present at any one moment will be your minimum number of platforms needed.
0
Russ here is what i measured and calculated
https://www.sololearn.com/post/170240/?ref=app
0
Preity I wasn't really able to follow exactly your algorithm but that's probably because I'm not familiar with C or any similar languages. As such I don't think I can be of any assistance to you, sorry. Good luck though!