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