摘要: # 解题思路 跑 $\text{n}$ 遍 $\text{spfa}$ 并记录路径,找到比当前最长路长的就更新答案,并且将路径也更新,注意起点的处理。 # 附上代码 阅读全文
posted @ 2018-09-12 14:50 Mystical-W 阅读(199) 评论(0) 推荐(0) 编辑