You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
提交連結
https://judge.ccclub.io/status/c26d99ed7da91468613f3b1384d96810
程式碼
錯誤訊息
WA
問題描述
我的算法是收集所有從起點到終點的所有可能路徑,之後再限制轉乘次數,得來的路徑為合格路徑,再一一計算合格路徑對應的價錢,然後找最小值。我有考量s>d的input,若是這樣,s設為終點,d設為起點,總之程式強制將終點數值大於起點,然後只算單向情況,因為再怎麼樣也不會發生折返問題,若有折返也不會是答案,因為不是最小值。測資都對,尤其是路徑的收集都沒問題,為何是WA? 請助教指點,由於已快臨界截止日期,可否請助教速速回覆呢? 麻煩了謝謝🙏
The text was updated successfully, but these errors were encountered: