eolymp
bolt
Try our new interface for solving problems
Problems

Floyd - existence

published at 2/25/11, 8:51:10 pm

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 ... :)
published at 7/23/11, 9:45:14 pm

Чому можуть не проходити тести, в яких не має циклу вагою менше ніж -1e+9?

awpris replied:
Не зрозумів питання... :( Якщо можна детальніше і в ЛС.