Quote:
Originally Posted by
Brad0407
You jumping to conclusions is slightly insulting and annoying.
then it served its purpose.
Quote:
You got your first solution from 64*63*62*61*60*59*58*57.
No, actually I got it from X! / (X-Y)! , the standard permutations formula, you just wrote it out the long way.
Quote:
However, any fool would write the loops like this:
but you arent just any fool ...
Quote:
That's 10.4 billion.
care to explain this result?
Quote:
Then you realized that
so now you are a mind reader
Quote:
when you place the queens, you can do it one column at a time and check that no queens are in the same row giving you 8*7*6*5*4*3*2*1.
AKA X! where X = 8;
Quote:
This can still be easily beaten with a hill-climbing algorithm starting in random places.
oh please great and wonderful master, please dein to cast pearls before swine and enlighten the great unwashed masses with your wisdom