Ra1nWarden / Online-Judges

My solutions to various online judge problems.
0 stars 0 forks source link

10166 WA #18

Open Ra1nWarden opened 9 years ago

Ra1nWarden commented 9 years ago

DAG single source shortest path problem. Build the graph per normal and add one more time constraint to each edge in order to determine whether that edge is still viable given an arrival time at that node. Passed sample IO as well as some IO on OJ Board. Not sure what is wrong now. No point fixing as the whole point of the problem seems to be DAG SSSP.