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

How to solve Hotels from POI?

Правка en1, от vatsal, 2016-12-23 18:50:36

How to solve this problem from POI? It simply states: Given a tree find a triplet of nodes (a,b,c) such that distance between each other is same!

Теги poi, trees, dynamic programming, combinatorics

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский vatsal 2016-12-23 18:50:36 218 Initial revision (published)