function solution = solver(n)
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles inside a black box by
% shining light beams. N determines the size of the n-by-n black box.
% The return value SOLUTION should contain your best guess for the n-by-n
% game board.
%
% The MATLAB Contest Team
% November 2006
% SOLVER Lame solver for the Black Box contest.
%
% SOLUTION = SOLVER(N) figures out the particles in