$@=29628;s/./y$ IIVCXL426 (-:V$XIVX
LMCDIVX$dfor$$_ .=5x$&*8% $@;$$$_=$
_/egfor-4e3..0; $;=qq/LXX IV+CXVII+
CXV +CX VI+
XXX II+ XCV
II+ CX+ CXI
+CX VI+ CIV
+CI +CX IV+
XXX II+ LXX
X+C I+C XIV
+CV III +XX
XII +CI V+X
CVI I+X CIX
+CV II+ CI+
CXI V+X LIV
+X+ XLV III
C+C MII XV+
DXI M+I MCC
MCM +XXIII
DCI MMV+II
C+I MMVIII
/;$;=~s/\s+//g; print+
eval(join+q/./, map-${
$_},+split/\+/, ~~$;);
Inspired by Erudil's, There can be only one!, My 2 cents worth, my own The Power of Three, and (of course) thospel's original magic formula.
For those of you who prefer signatures and want (at least a little) more insight into what's going on:
s/./y$IVCXL426(-:$XLMCDIVX$dfor$$_.=5x$&*8%29628;$$$_=$_/egfor-4e3..0;
print+eval(join+qq/./,+map-${$_},split/\+|\n/,+qq/LXXIV+CXVII+CXV+CXVI
XXXII+XCVII+CX+CXI+CXVI+CIV+CI+CXIV+XXXII+LXXX+CI+CXIV+CVIII+XXXII+CIV
XCVII+XCIX+CVII+CI+CXIV+XLIV+X/)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|