Winner Guy Shechter (j11)

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

yrite 2

by Niilo Sirola

Status: Passed
Results: pass
CPU Time: 0.28
Score: 86.0
Submitted at: 2003-11-04 10:58:17 UTC
Scored at: 2003-11-04 11:26:02 UTC

Current Rank: 75th
Basis for: yrite 2b (diff)

Comments
Please login or create a profile.
Code
c=[];
for i=b
  c = [c a(1)*ones(1,i)];
  a(1)=[];
end
l=sum(b);
while any(~(diff(c)))
  c=c(randperm(l));
end