for( 0b000000000000111111..0b111111000000000000 ) { $_ = sprintf("%018b",$_); next unless /^0*10*10*10*10*10*10*$/; print "$_\n"; }
cLive ;-)
--
seek(JOB,$$LA,0);
In reply to Re: Is there a faster way to do this?
by cLive ;-)
in thread Permutations in binary
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |