Stuck on problem B. Blurred Pictures of SWERC18

Правка en1, от Christian_D, 2020-01-02 11:20:52

The problem is here. My latest attempt is here.

I've implemented a version of this algorithm. It works for the smaller tests, however in the worst case (100000x100000 matrix, nothing blurry) my implementation still takes about 13 seconds.

I've optimized it as far as I'm able to. Is there something I'm missing? Or another approach entirely? I'm stuck.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Christian_D 2020-01-02 11:21:45 0 (published)
en1 Английский Christian_D 2020-01-02 11:20:52 599 Initial revision (saved to drafts)