grid. The number of people living in each building is equal to its height. Rows 1, 2, 3 are similar to row 4, 5, 6 respectively and column A is similar to column D, column B and C are reverse of column E and F respectively. Around any building there is no building of the same height. Also there is no building with a height difference of 1 to the right,left,up and down of a building.The city of skyscrapers consists of buildings of heights ranging from one to nine arranged in a
In the rainy season of the year 2013, the city is flooded and a rescue team headed by Uttej roams (outside the grid) with a boat and a flashlight, on top of column F, moving anticlockwise, and ending at right of the first row. They light the flash along the row or column corresponding to their position.. All the people of a building are rescued if that building can be seen,that is, if there is no building of greater or equal height between it and the flash. The numbers written at the top of some rows or beside some columns represents the number of people rescued when flash is lighted from that position.
How many people will enter the ship when the flash is lighted from the bottom of B?
How many people died in the flood?
How many more people would have been saved if the flash were lighted along the diagonals as well ?
Input your answer s
Details and Assumptions