Winner Guy Shechter (j11)

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

6th try!

by Mohsen Nosratinia

Status: Passed
Results: pass
CPU Time: 0.27
Score: 83.0
Submitted at: 2003-11-04 10:37:05 UTC
Scored at: 2003-11-04 11:12:17 UTC

Current Rank: 59th
Based on: 5th try (diff)
Basis for: 7th try! (trimmed 6th) (diff)

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