var a,b=Set("ab","b") for(_<-""+b;s<-a)a++=b.map(s+) a.toSeq.sortBy(BigInt(_,16))take'd'map println
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page