Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ Challenge Number 6

Name: Anonymous 2007-11-15 13:48

Hey guys and .. well, guys.

This time, the /prog/ Challenge is to design an algorithm that solves minesweeper fields.

Best algorithm wins. All algorithms have to execute in O(n) or O(n^2).

Good luck.

Name: Anonymous 2007-11-15 14:11

this code runs on my quantum computer:

Universe universe = new Universe();

while not minesweeper_solved(universe)
     universe = new Universe();

print_minesweeper(universe.getInstanceByPattern(Pattern.MINESWEEPER_SOLVED)))
}


run time is O(sqrt(n))

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List