Winner Andre Fioravanti (Lost Sailor Final5)
by Alex P.
Status: Passed Results: 454296 (cyc: 1, node: 98) CPU Time: 0.064 Score: 90859.3 Submitted at: 2010-11-16 23:58:42 UTC Scored at: 2010-11-16 23:59:01 UTC
Current Rank: 2952nd (Highest: 2565th ) Based on: thirty miles under sea (diff)
function [thrustRow, thrustCol] = solver100(chart, aIndex, bIndex, maxThrottle) [aby abx]=ind2sub(size(chart),[aIndex; bIndex]); d = (diff([aby abx]).*[1.004 0.9997])'; R=sum(abs(d)); t = round(maxThrottle*d/(30/R+R) * [1 1 1 -1 -1 -1 -1 -1 0 0 0 0]); thrustRow = t(1,:); thrustCol = t(2,:);