Thanks! Please do write about the task for which you had to use the presented solution. Is the expected input on which the problem is evaluated really like &quot;100K of golf holes and 100K of possible robot distances&quot;? I don&#x27;t know anything about these contests and I was not able to find the input on which the program is going to be measured (if I understand the speed is measured?)