Wrong on test 53?
Difference between en1 and en2, changed 6 character(s)
[problem:12A66B]↵
Submission: [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?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English redkar 2022-04-28 19:42:49 6 Tiny change: '[problem:12A]\nSubmiss' -> '[problem:66B]\nSubmiss'
en1 English redkar 2022-04-28 18:50:56 367 Initial revision (published)