| AlgoChief Sprint Round 4 |
|---|
| Finished |
You are interviewing for the role of Strategist in a F1 Team. To impress the team principal, you need to write a program giving the most optimal strategy to win an F1 Race.
The main motive of a race is to complete the race in as minimal time as possible. You need to build a tire strategy to help that.
F1 has 3 types of tires, Lets call them Soft, Medium and Hard, each tire has different age and speed.
You are given fresh speed of all 3 tires, namely $$$c1$$$, $$$c2$$$, $$$c3$$$
Lets say your tires are $$$x$$$ laps old
The only line of input has 7 integers, $$$laps$$$, $$$c1$$$, $$$c2$$$, $$$c3$$$, $$$stop$$$, $$$minstop$$$, $$$maxstop$$$
If you have multiple strategies with same minimum time, they are accepted
5 1 2 3 1 0 2
13 1 2 2 1 4 1
5 1 2 3 1 0 1
18 1 1 3 1
80 1 12 20 20 0 3
2320 1 3 15 1 30 3 55 3
Lets take the First Example
| Name |
|---|


