![]() a.outīut other odd sizes are reasonable: $ echo 3 |. Thankfully the spec doesn't say what size one should look like: $ echo 1 |. It could be reduce by using freeform input. Obviously they help but don't add up to enough to kill the wordiess of the language. I tried fortran because of the inline for loops provided by the write statement. And note that markdown doesn't get along well with the indent requirements. No real point in providing a "unobsfucated" version. Since some people asked how long the entries of our contestants were:Īs well as our own solutions (not ranked with the others): I will update the accepted answer when a shorter one comes along. Trailing whitespace on the lines is ignored.ĮTA: I now accepted the shortest solution. The output is a cube on standard output following above rules. The input, given on standard input, is a single positive, even number n (2 ≤ n ≤ 30) that gives the length of the vertical lines of the cube. Corners are not counted for the length of an edge as detailed above (see examples below as well).
0 Comments
Leave a Reply. |