Solve hanging lantern problem: Difference between revisions
m
→{{header|Raku}}: removed header markup
(→{{header|Phix}}: added a full solution) |
m (→{{header|Raku}}: removed header markup) |
||
Line 560:
Rather than take the number of columns as an explicit argument, this program infers the number from the size of the array of columns passed in.
===
The verbose mode of this version outputs the sequence of columns to remove lanterns from, rather than numbering the lanterns individually as in the description:
Line 600:
[3,3,3,2,2,1]</pre>
===
This longer version numbers the lanterns as in the example in the task description.
|