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

Help with task on graph k-connectivity

Правка ru1, от test_account_229, 2020-02-15 00:49:16

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 > 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?)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
ru3 Русский test_account_229 2020-02-16 12:27:44 17 Мелкая правка: ' vertices > K, we sim' -> ' vertices are greater than K, we sim'
ru2 Русский test_account_229 2020-02-15 17:47:23 1 Мелкая правка: ', but why?)' -> ', but why?'
ru1 Русский test_account_229 2020-02-15 00:49:16 528 Первая редакция (опубликовано)