I don't see the contradiction.
Second example:
Input: 1234567890
Output:
0 _ _________________ 1
\/
1 _/\ _______________ 2
\/
2 ___/\ _____________ 3
\/
3 _____/\ ___________ 4
\/
4 _______/\ _________ 5
\/
5 _________/\ _______ 6
\/
6 ___________/\ _____ 7
\/
7 _____________/\ ___ 8
\/
8 _______________/\ _ 9
\/
9 _________________/\_ 0
To make it clearer, I've added spaces between the layers:
0 _ __ __ __ __ __ __ __ ___ 1
\/
1 _/\ __ __ __ __ __ __ ___ 2
\/
2 ___ /\ __ __ __ __ __ ___ 3
\/
3 ___ __ /\ __ __ __ __ ___ 4
\/
4 ___ __ __ /\ __ __ __ ___ 5
\/
5 ___ __ __ __ /\ __ __ ___ 6
\/
6 ___ __ __ __ __ /\ __ ___ 7
\/
7 ___ __ __ __ __ __ /\ ___ 8
\/
8 ___ __ __ __ __ __ __ /\ _ 9
\/
9 ___ __ __ __ __ __ __ __ /\_ 0
-
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.
|