character subsets by 51b

import std.stdio;void main(){auto s=readln;s=*s%3?s:"long
";for(int n,l=s.length;++n<1<<l;n++)foreach(i,m;s)n>>l+~i&1&&putchar(m);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page