Have been posed a similar hypothetical - but with higher/darker stakes. You get a year and $10 million if you make, but you and your whole family dies if you don't get it. Also, you have to figure out the course arrangement/how to hit as many balls as possible part.
I'd still do it. Would find a non-crowded public track with a short-ish par 3 with a slope/backstop behind the hole, and pay them a sizeable sum of money for unlimited play. Shouldn't take more than a couple days. Probably would hit little half shots and run the ball up so it would have 2 chances to go in. Boom.