Search found 1 match

by tahsynx
Tue Dec 16, 2014 3:42 pm
Forum: Volume 121 (12100-12199)
Topic: 12144 - Almost Shortest Path
Replies: 1
Views: 1760

Re: 12144 - Almost Shortest Path

my idea was : 1. find the sortest path 2. remove the routes for shortest path 3. while second shortest path = shortest path, remove the routes why i'm getting WA :( http://paste.ubuntu.com/9539956/ #include <bits/stdc++.h> using namespace std; int n, parent[502], dis[502], graph[502][502]; struct da...

Go to advanced search