Description: In computer-aided design (CAD), there is a classic problem: the elimination of hidden lines (covered by other graphics of the segment). You need to design a software architect to help draw the outline of the city side of the map. In order to facilitate the processing, all the buildings are limited to rectangular, and all built on the same horizontal surface. Each group of buildings that use a ternary (Li, Hi, Ri) in which Li and Ri are the left and right edge of the building i coordinates, Hi is the height of the building i.
File list (Check if you may need any files):
fourth.cpp
input_data.txt