Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Блог пользователя test_account_229

Автор test_account_229, история, 4 года назад, По-русски

Given the degrees of the vertices of the graph and the number K. It is necessary to construct a graph with such degrees of vertices that if you remove any K edges in it, it remains connected, or say that there is no such graph. If the degrees of all vertices are greater than K, we simply do the following algorithm: a vertex of the minimum degree, cross it out from the list and connect it with vertices of the maximum degree. This works and really maximizes the edge connectivity of the graph, but why?

  • Проголосовать: нравится
  • +12
  • Проголосовать: не нравится