Building Base

Building Base

The singularity has happened, and we are being made to build the ideal robo-city for our overlords. In this shining robotropolis, all buildings will be rectangular and all streets laid along south-north and east-west lines in a glorious grid. Before we get started, we have to create a class to represent the perfect building.

Because all the buildings in the city are rectangular and their walls are parallel to the streets, we can define any building using only the coordinates of South-Western corner, two arguments (the length of the west to east walls and the length of the north to south wall) along with the height of the building. These values...

You should be an authorized user in order to see the full description and start solving this mission.
45