✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Shortest paths with negative weights
Assume that we have a graph with a negative cycle that is reachable from the source s. For which vertices is “the shortest distance from s” not a well-defined number?