Winner Guy Shechter (j11)

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

tweak lazlo

by Luis F. Gutierrez

Status: Passed
Results: pass
CPU Time: 0.251
Score: 90.0
Submitted at: 2003-11-04 10:32:09 UTC
Scored at: 2003-11-04 11:04:25 UTC

Current Rank: 134th
Basis for: tweak lazlo 2 (diff)
Basis for: tweak lazlo 3 (diff)

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