Abdullah_Al_Mahmud's blog

By Abdullah_Al_Mahmud, history, 19 months ago, In English

How is the brightness calculated for the pyramid? I understand the calculation for all the rooms. But room (5, 2) is not clear. Also in the explanation of test case 3, how the brightness of room (3, 2) is 3? Here is the problem link : Round #822 B.

  • Vote: I like it
  • -18
  • Vote: I do not like it

| Write comment?
»
19 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Just read problem again

»
19 months ago, # |
  Vote: I like it 0 Vote: I do not like it

The brightness is calculated using torches. There are of course more than 3 squares from where you can reach (5, 2) but only 3 of them have torches so the brightness is 3.

»
19 months ago, # |
  Vote: I like it 0 Vote: I do not like it

1734D — Slime Escape Can anyone give me a TestCase for which my submission is Wrong? 173399106