Winner Guy Shechter (j11)

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

Peter's attempt #6

by Peter J. Acklam

Status: Passed
Results: pass
CPU Time: 0.23
Score: 71.0
Submitted at: 2003-11-04 11:19:52 UTC
Scored at: 2003-11-04 11:46:45 UTC

Current Rank: 40th
Based on: different from my previous (diff)

Comments
Peter J. Acklam
04 Nov 2003
no find
Please login or create a profile.
Code
c=[];
m=0;
while sum(b)
   [j,k]=sort(b);
   m=k(k~=m);
   m=m(end);
   c=[c a(m)];
   b(m)=b(m)-1;
end