Introduction - If you have any usage issues, please Google them yourself
In the depths of the cave, the elven prince accidentally touched a hidden cave organ, the entire cave will soon collapse, elf prince will
Must escape from the cave as quickly as possible. Running speed elven prince of 17m/s, at this rate may be unable to escape the cave. Fortunately elven prince has flashes of magic, can move within 60m 1s, but each use flashing
Spell will consume mana 10:00. Elf Prince mana recovery speed of 4:00/s, to resume only in situ resting state. Now the magic elf prince known initial value M, the location of the cave where he and
Distance between S cave exit from the cave to collapse time T. Your task is to write a program to help calculate how elven prince fled the cave in the shortest possible time