Finish 2010-05-05 12:00:00 UTC

Where is the milk?

by Somesh

Status: Passed
Results: 119098013257 (cyc: 3, node: 91)
CPU Time: 2.265
Score: 238196000.0
Submitted at: 2010-04-29 07:42:45 UTC
Scored at: 2010-04-29 07:43:09 UTC

Current Rank: 4232nd (Highest: 170th )

Alan Chalker
10 May 2010
This entry was submitted during the Darkness phase
Alan Chalker
11 May 2010
This entry gets a result of 352286405134 on the test suite (233188391877 more than the contest suite). It has a ranking of 4216 compared to all other entries run against the test suite according to the data set provided by Jan Keller.
Please login or create a profile.
function Aest = solver(imageSize, queryLimit)

    Aest = ones(imageSize)*127;
    stepsize = round(imageSize*imageSize/queryLimit);
    for row = 1:stepsize:imageSize
        for col = 1:stepsize:imageSize
            mask = false(imageSize);
            mask(row:row+stepsize,col:col+stepsize) = true;
            Aest(row:row+stepsize,col:col+stepsize) = queryImage(mask);
    Aest = Aest(1:imageSize,1:imageSize);