Author: h.g.muller
Date: 09:17:19 02/10/06
Go up one level in this thread
On February 10, 2006 at 11:46:24, Robert Hyatt wrote: >Another note. Your above solution would be returned "incorrect". The >directions, as given previously, were to print the _position_ after making the >mate in 1 move. Not print the move that mates. Well, if I was realy competing I probably would have gone through the trouble of reading the entire problem definition. :-) Printing the board is not more work than printing the move. But you are right, doing all four problems seems clearly impossible. I would have sacrificed the Zombie problem, if only to save the time of reading the 2-page description. ;-) The magic-square problem is really easy, it takes 10 seconds to see the algorithm, but it still took me 20 minutes to write the program. The cone-sphere problem seems to require so much math knowledge, that you might as well solve it entirely by math. That takes about 20 minutes, and the resulting expression you could program in 2 minutes (and the result would be accurate to 17 digits....). It seems rather hopeless to have the computer figure out by trial and error how big you can make the sphere before it touches the cone, or even if you assume a point where they touch (and have that run over the cone) to position the center of the sphere. It seems more a goniometric than a programming exercise.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.