MATLAB Programming Contest Blog

November 6th, 2009

Small Rule Tweak: Limit to Vector Length

To keep entries which return really long colors vector from slowing down the queue, we’ve capped the length of each at numel(board). Anything longer than that will be ignored. We’ve updated the rules and the submission to reflect this. This updated submission will score your entries faster, thanks to an optimization from David Hruska.

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).


MathWorks
The MATLAB Programming Contest is a semi-annual competition where contestants submit MATLAB code to try to solve a challenge.

See behind the scenes of the MATLAB Programming Contest

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