Need Help in a Graph Problem

Правка en1, от holmes_324, 2023-05-20 15:28:45

I didn't understand what paint(v) means. Can someone please explain me. Also I didn't understand the editorial solution of this problem. Can't we just count unconnected black ans white components and output min of them Problem link Thanks in advance!

Теги graphs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский holmes_324 2023-05-20 15:28:45 332 Initial revision (published)