Finish 2010-11-17 12:00:00 UTC

000

by Victoria

Status: Passed
Results: 401353 (cyc: 1, node: 92)
CPU Time: 0.064
Score: 80270.7
Submitted at: 2010-11-16 23:34:08 UTC
Scored at: 2010-11-16 23:34:14 UTC

Current Rank: 2564th (Highest: 2151st )
Based on: 999 (diff)
Basis for: RandomCat000 (diff)
Basis for: Bargin (diff)
Basis for: Nexus100 000 (diff)
...and 1 other.

Comments
Please login or create a profile.
Code
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 = maxThrottle*d/(30/R+R) * [1 1 -1 -0.999 -1 -1 0 0 0];
thrustRow = t(1,:);
thrustCol = t(2,:);