Minimize the number of Dogs!

Правка en3, от pks18, 2020-08-05 14:30:33

I was solving the problem set of Code forces when I stumbled upon this question Protect Sheep. The question was pretty simple if we simply place dogs on all the empty spots.

But if we were supposed to minimize the number of the dogs used to protect the sheep. How do we solve it then? There seems to be many cases to handle. Any kind of help would be appreciated!

Теги #dfs and similar, #graph theory

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский pks18 2020-08-05 14:30:33 4 Tiny change: 'ty spots. But if we ' -> 'ty spots. \n\nBut if we '
en2 Английский pks18 2020-08-05 06:40:56 0 (published)
en1 Английский pks18 2020-08-05 06:39:36 442 Initial revision (saved to drafts)