Home > Logic
|The top nine at Solvemall Classic (Posted on 2010-06-01)
My pal is very fond of puzzles, but can't always remember all the details correctly. Yesterday he told me about a new version of the famous 9-hole golf problem.
‘OK, there’s this guy, and when he plays golf, he always uses one of 2 shots. He always aims straight for the hole; if he overshoots, then he plays back towards the hole with his next stroke…'
‘Yes, I get the idea. You’re saying that he has a drive of, say, x yards, and an approach shot of, say, y yards, some exact combination of x's and y's will always enable him to sink the ball. What are the lengths of the holes?’
‘Gosh, that’s the problem! I can only remember 4 for certain; 150 – that was the shortest - 200, 350, and the longest one was 500.’
‘And what do you ‘remember’ the rest were, old buddy?’
‘Hmmm, something like 180, 280, 300, 370, and 410 - but now I come to think about those numbers, I’m pretty certain that one or two of them are wrong.’
‘And how many strokes altogether?’
‘Hehe, that was what you had to work out – but none of the holes was less than 150 yards, and none took more than 5 shots.’
Can anyone tell me what the correct lengths of the 9 holes were, so that I can work out the original problem?
re(8): computer (spoiler)
| Comment 9 of 11 |
(In reply to re(7): computer (spoiler)
There seems to be no problem with your solution in the queue. My program did not take into consideration that in some instances the driver may be used in a negative direction, meaning that the golfer starts out with the "approach" shot, since the rules imply he can't start with a drive that's directed away from the hole. I also assumed that the driver would have a longer distance than the approach shot.
Posted by Charlie
on 2010-06-03 11:33:35
Please log in:
About This Site
New Comments (2)
Top Rated Problems
This month's top
Most Commented On