The city of skyscrapers consists of buildings of heights ranging from one to nine arranged in a
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.
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.
Question 1:
How many people will enter the ship when the flash is lighted from the bottom of B?
Question 2:
How many people died in the flood?
Question 3:
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
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
It follows from the rules of symmetry given in the first paragraph that A 1 = A 4 = D 1 = D 4 and B 2 = B 5 = E 2 = E 5 , giving this right off the bat:
Next we note that if 5 people are rescued on the right side of row 2 and E 2 = 3 then F 2 must be either 2 or 5 . It can't be 2 as then 3 and 2 would be next to each other and as they have a difference of 1 this is not allowed, hence F 2 = 5 . Similar logic shows that for 1 2 to be rescued from the top of column E , E 1 must be less than 3 , as it's next to 3 and can't be 2 , E 1 must be 1 . Using the rules for similar rows it is given that F 2 = F 6 = C 2 = C 6 and E 1 = E 4 = B 3 = B 6 . Now we have
To rescue 1 2 looking down E it is now apparent that E 3 = 8 . By symmetry E 3 = E 6 = B 1 = B 4 , giving us:
Looking at F 3 it can't be 1 , 3 , 5 , or 8 as it is around all of those. Since it is directly next to 8 and 5 it also cannot be 4 , 6 , 7 , or 9 and F 3 must be 2 . F 3 = F 6 = C 1 = C 4
By the same method, it is trivial to show D 3 to be 4 and A 2 to be 9 and because D 3 = D 6 = A 3 = A 6 and A 2 = A 5 = D 2 = D 5 our grid now looks like
Lastly use the same method of examining the squares around it to rule out possible values on C 3 to find it must be 7 . C 3 = C 6 = F 1 = F 4 so our completed grid is:
Question 1: B 6 < B 5 < B 4 > B 3 so the only B 6 , B 5 , B 4 could be rescued here, however note that because A 4 < B 4 , B 4 was already rescued from the left of row 4 so the answer is just B 5 + B 6 = 3 + 1 = 4 , meaning A 1 = 1
Question 2: Going around the whole square and using the method of rescue that saves all buildings until a building is too tall to see the next rescues the following blacked out buildings
Summing the remaining buildings values gets an answer of 2 5 meaning A 2 = 3
Question 3: Note that every diagonal has 3 as the second building in it. This means a diagonal would only save additional people if it's corner is less than 3 . The only corner that meets this need is the bottom right with a value of 2 and this diagonal would save the following two boxes
The sum here is 9 so A 3 = 1
The answer is then A 1 A 2 A 3 = 1 3 1