The path through the cycle of negative weight becomes impossible.
1000 ms 256 Mb Rules for program design and list of errors in automatic problem checking