You can find spfa.cpp
in the attachment.
QOJ.ac
QOJ
Time Limit:
1 s
Memory Limit:
512 MB
# 3839. Shortest Path Fast Algorithm
Statistics
The problem was used in the following contest:
This problem is prepared by
quailty .