Wrong on test 53?

Правка en2, от fishcurry, 2022-04-28 19:42:49

66B - Petya and Countryside Submission: 155219826

My idea was the same as the editorial:

Simulate the rain on all the blocks.

First I simulate the rain on the blocks indexed at 1 to n-2.

Then I simulate the rain on blocks indexed at 0 and n-1.

I update the maximum if necessary.

But I am still failing test cast 53.

Why is that?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский fishcurry 2022-04-28 19:42:49 6 Tiny change: '[problem:12A]\nSubmiss' -> '[problem:66B]\nSubmiss'
en1 Английский fishcurry 2022-04-28 18:50:56 367 Initial revision (published)