while(<DATA>){s/\r?\n?//g;$a.=$_;}for(split(/;/,$a)){$b=0;for(split###
(/,/)){if(!$b++){$c=chr(b($_));}else{@d[b($_)]=$c;}}}print@d;sub b{$a=
$b=0;for(split(//,reverse$_[0])){if($_){$a+=2**$b;}$b++;}return$a;}###
#"The unwritten geek credo states that originality and strangeness are
#good, and that blind conformity and stupidity are unforgivable."
# http://samsara.circus.com/~omni/geek.html
__END__
0100000,0000100,0001100,0010001;1100001,0000101,0010011;1100011,001010
0;1100101,0001010,0001110,0010110;1101000,0001001,0010010;1101010,0000
000;1101011,0010101;1101100,0010000;1101110,0000110;1101111,0000111;11
10000,0001101;1110010,0001011,0001111,0010111;1110011,0000010;1110100,
0000011,0001000;1110101,0000001;
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.