Voxels X87651


Statement
 

pdf   zip

html
Public test cases
  • Input

    FRONT
    38
    2 0 3
    3 0 3
    4 0 3
    5 0 3
    6 0 3
    2 1 3
    3 1 3
    4 1 3
    5 1 3
    6 1 3
    2 2 3
    3 2 3
    4 2 3
    5 2 3
    6 2 3
    3 0 4
    4 0 4
    5 0 4
    3 1 4
    4 1 4
    5 1 4
    1 9 0
    1 8 0
    1 7 0
    2 9 0
    2 7 0
    3 9 0
    3 7 0
    5 9 0
    5 8 0
    5 7 0
    6 7 0
    7 8 0
    7 7 0
    8 7 0
    9 9 0
    9 8 0
    9 7 0

    Output

    #########################
    #                       #
    #                       #
    #  +-+-+-+ +-+     +-+  #
    #  |     | | |     | |  #
    #  + +-+-+ + + +-+ + +  #
    #  | |     | | | | | |  #
    #  + +-+-+ + +-+ +-+ +  #
    #  |     | |         |  #
    #  +-+-+-+ +-+-+-+-+-+  #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #    +-+-+-+-+-+        #
    #    |         |        #
    #    + +-+-+-+ +        #
    #    | |     | |        #
    #    + +     + +        #
    #    | |     | |        #
    #    +-+-+-+-+-+        #
    #########################
    
  • Input

    TOP
    13
    2 1 5
    3 1 5
    4 1 5
    5 1 5
    6 1 5
    2 1 6
    3 1 6
    4 1 6
    6 1 6
    2 2 5
    3 2 5
    2 2 6
    3 2 6

    Output

    #########################
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #    +-+-+-+-+-+        #
    #    |   |     |        #
    #    +   + +-+ +        #
    #    |   | | | |        #
    #    +-+-+-+ +-+        #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #                       #
    #########################
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    C++
    User solutions
    C++