Winner Guy Shechter (j11)

Finish 2003-11-11 10:00:00 UTC

Even better?

by Peter J. Acklam

Status: Passed
Results: pass
CPU Time: 0.11
Score: 57.0
Submitted at: 2003-11-04 11:43:23 UTC
Scored at: 2003-11-04 12:01:17 UTC

Current Rank: 20th
Based on: Pretty good (diff)

Comments
Peter J. Acklam
04 Nov 2003
Clever algorithm, Mark
Please login or create a profile.
Code
f=1;
for i=1:sum(b)
   g=b;
   g(f)=0;
   [e,f]=max(g);
   c(i)=a(f);
   b(f)=e-1;
end