Loading repovive.com/contests/5/problems/A
Your TV has a volume level between and . Currently, the volume is at , and you want to change it to exactly .
The TV remote has three buttons to control the volume:
+ button (increases the volume by ).- button (decreases the volume by ).Mute button (sets the volume instantly to ).What is the minimum number of button presses required to change the volume from to ?
Press the plus button times.
Press the Mute button to set the volume to , then press the plus button times.
Press the plus button times.