@ 2014-07-27 6:40 PM (#16195 - in reply to #16192) (#16195) Top | |
Posts: 4 Country : India | himanshu_mittal posted @ 2014-07-27 6:40 PM In R1C3, 3 is written. This means we can see 3 buildings from that place in the given direction. And in R1C4, R1C5 & R1C6 , 2, 8 &6 is written respectively. How can I see the R1C6 cell from R1C3 if 8 is written at R1C5 |
@ 2014-07-27 7:48 PM (#16196 - in reply to #16195) (#16196) Top | |
Posts: 1801 Country : India | prasanna16391 posted @ 2014-07-27 7:48 PM himanshu_mittal - 2014-07-27 6:40 PM In R1C3, 3 is written. This means we can see 3 buildings from that place in the given direction. And in R1C4, R1C5 & R1C6 , 2, 8 &6 is written respectively. How can I see the R1C6 cell from R1C3 if 8 is written at R1C5 I see your problem. You have misunderstood it to mean that it only sees the first X cells in that direction. It sees till the edge of the grid in that direction. So, there's a 9 away behind the 8, which will be another seen building. |
@ 2014-07-28 9:07 AM (#16202 - in reply to #16196) (#16202) Top | |
Posts: 4 Country : India | himanshu_mittal posted @ 2014-07-28 9:07 AM Now i get it. I will try to solve now |