Winner Guy Shechter (j11)
by Walter Kuhn
Status: Passed Results: pass CPU Time: 0.26 Score: 87.0 Submitted at: 2003-11-04 10:44:39 UTC Scored at: 2003-11-04 11:18:53 UTC
Current Rank: 92nd Based on: randperm (diff)
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