Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/randhir200/marathon

You take part in a marathon, and there are many different points from where you can start running (named from 0); at each point, there is a counter for energy drinks. Not all energy drinks are the same; every one of them gives you a different amount of energy. With one unit of energy, you can only run 1 km, and the starting points are located randomly, so the distance between them is not fixed. Assume that at the start of the marathon, you're exhausted. So you want to find the point from which you should start running so that you complete the whole marathon.
https://github.com/randhir200/marathon

Last synced: 1 day ago
JSON representation

You take part in a marathon, and there are many different points from where you can start running (named from 0); at each point, there is a counter for energy drinks. Not all energy drinks are the same; every one of them gives you a different amount of energy. With one unit of energy, you can only run 1 km, and the starting points are located randomly, so the distance between them is not fixed. Assume that at the start of the marathon, you're exhausted. So you want to find the point from which you should start running so that you complete the whole marathon.

Awesome Lists containing this project