Could you please explain me what to do in this task from Croatian OI?

Правка en1, от Tigutor, 2021-05-23 09:42:50

Here is the statement https://wcipeg.com/problem/coi08p3

I found it very interesting, because restrictions are big. I was thinking about using array d[i] — number of cells with distance i to them, but I cannot recalculate it for one rectangle quickly.

So if you have any ideas, please share them

Теги realization

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Tigutor 2021-05-23 09:42:50 378 Initial revision (published)