MATLAB Programming Contest Blog

November 4th, 2009

Color Bridge Contest is now under way

This Fall’s contest is based on the game Flood-it.

As usual, we are starting out in Darkness moving into Twilight, then Daylight. The contest will run until next Wednesday, November 11, 2009, high noon (Boston time). Links to get started:

Enjoy!

Helen and the MATLAB Central Contest Team

2 Responses to “Color Bridge Contest is now under way”

  1. Michael replied on :

    The syntax of the function ’solver’ as explained in the rules is:
    colors = solver(A,[targetRow targetColumn])

    while in the distributed functions it is:
    colors = solver(A,targetRowAndColumn)
    This also fits the ‘testsuite_sample.mat’ is built.

    What is the correct one (should we use a linear index of the target or subscripts)?

    Thank you

  2. Doug replied on :

    Everyone,

    Sorry about that. I wrote the contest code in absolute indexing, and then changed it to match the rules. I pushed the absolute indexing version accidentally. My bad.

    We just modified the rules to match the contest suite as it is on the File Exchange. Looks like some of the early entries figured it out and are doing well. Use ind2sub to convert to row column if you happen to need it.

    sorry,
    Doug

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


The MATLAB Programming Contest is a semi-annual competition where contestants submit MATLAB code to try to solve a challenge. For more information, see the overview.
  • gopal: This is a try
  • Amtu: Well done Alfonso ! Congratulations ! Thanks MATLAB team, I’m already looking forward to the next time.
  • Alan Chalker: Just wanted to post here as well that I think Alfonso should be declared the grand winner since the top...
  • Alan Chalker: Just noticed something curious on the statistics page. While some of the charts are updating correctly,...
  • Ned: To Oliver: There will not be a late stage twilight in this contest. So it’s full daylight right to the end.
  • Oliver Woodford: Much obliged, Mike. For anyone looking for a speed boost to that approach I recommend “Basic...
  • MikeR: I agree with Oliver that if possible making the final few hours of the contest conceal the entries will be...
  • Oliver Woodford: When does late stage twilight begin, and will it then run on until the end of the contest?
  • Alan Chalker: As I traditionally do about this time in the contest, I’ve submitted a heavily commented version...
  • the cyclist: Looks like there might be a problem with the statistics page. For one thing, Alan Chalker holds all 20...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.