Please read the new rule regarding the restriction on the use of AI tools. ×

Minimizing the score problems

Revision en1, by dragneel3131, 2019-02-14 03:00:39

https://www.codechef.com/problems/EFFPAINT This is a challenge problem in codechef where we have to minimize the score. Can someone explain a good approach for this problem.

Also this is the editorial for the problem https://discuss.codechef.com/questions/6549/effpaint-editorial

I am not able to understand the editorial. The use of terms cells, rectangles and corners is not much clear in it. Can someone please explain this approach? One can refer to the setter's solution for better understanding on the approach used.

Kindly help.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English dragneel3131 2019-02-14 03:00:39 580 Initial revision (published)