Help needed

Правка en1, от TigranHakobyan, 2015-10-13 10:03:06

Hi, everyone. Could anyone help me with the solution to this problem ?

For every node of the graph the distance from itself to the farthest node is given. We need to restore the initial graph, or report that no such graph exists. Number of nodes are up to 100000 and all the numbers are between 1 and N-1.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский TigranHakobyan 2015-10-13 10:03:06 324 Initial revision for English translation
ru1 Русский TigranHakobyan 2015-10-12 23:32:13 324 Первая редакция (опубликовано)