Cubes
Details
Draw 7 cubes in increasing size using "╱" (U+2571) for the diagonal edges, "│" (U+2502) for the vertical edges, "─" (U+2500) for the horizontal edges, and "█" (U+2588) for the vertices. The cubes should range from size 1 to size 7 with a blank line between each cube. A size 1 cube should look like:
█────█ ╱ ╱│ █────█ │ │ │ █ │ │╱ █────█
And a size 7 cube should look like:
█────────────────────────────█ ╱ ╱│ ╱ ╱ │ ╱ ╱ │ ╱ ╱ │ ╱ ╱ │ ╱ ╱ │ ╱ ╱ │ █────────────────────────────█ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ █ │ │ ╱ │ │ ╱ │ │ ╱ │ │ ╱ │ │ ╱ │ │ ╱ │ │╱ █────────────────────────────█
0 bytes, 0 chars
Restore solutionCompiled from
AT&T syntax to x86-64 Linux. Use
syscalls to write output.
Arturo is an experimental language, no solutions will be saved.
Please leave feedback on the
GitHub issue.
Fennel is an experimental language, no solutions will be saved.
Please leave feedback on the
GitHub issue.
Uiua is an experimental language, no solutions will be saved.
Please leave feedback on the
GitHub issue.
ctrl + enter or