Winner Andre Fioravanti (Lost Sailor Final5)
by Mike Russell
Status: Passed Results: 401327 (cyc: 1, node: 99) CPU Time: 0.07 Score: 80265.5 Submitted at: 2010-11-16 23:50:03 UTC Scored at: 2010-11-16 23:50:57 UTC
Current Rank: 2563rd (Highest: 2164th ) Based on: Super Nick (diff)
function [thrustRow, thrustCol] = solver(chart, aIndex, bIndex, maxThrottle) [aby abx]=ind2sub(size(chart),[aIndex; bIndex]); d = (diff([aby abx]).*[1.004 0.9996])'; R=norm(d,1); R(R<40) = 40; t = round(maxThrottle.*d/(15/R+R) * [1 1 -ones(1,4) zeros(1,3)]); thrustRow = t(1,:); thrustCol = t(2,:);