Winner Guy Shechter (j11)
by Alex Backer
Status: Passed Results: pass CPU Time: 0.26 Score: 89.0 Submitted at: 2003-11-04 10:26:12 UTC Scored at: 2003-11-04 10:40:30 UTC
Current Rank: 115th Based on: freqsort 3 (diff) Basis for: top2 (diff) Basis for: randperm_0 (diff) Basis for: tweaked randperm (diff) ...and 18 others.
c=[]; for i=1:length(b) c = [c a(i)*ones(1,b(i))]; end while any(~(diff(c))) c=c(randperm(sum(b))); end