Problems
Floyd - existence
I have a question:) What language did QAFQAZkamran use at first?
There're also some problems with implementation. Since the value of f(v, v) can be exponentially small, we should, for example, use floating point type to compute shortest distances
awpris replied:
"It's good to know a foreign language " - said, licking his lips, a fox in the henhouse ...
:)
Чому можуть не проходити тести, в яких не має циклу вагою менше ніж -1e+9?
awpris replied:
Не зрозумів питання... :(
Якщо можна детальніше і в ЛС.