Search found 1 match

by dreamd_hacker
Mon Jun 08, 2015 11:20 am
Forum: Volume 116 (11600-11699)
Topic: 11631 - Dark roads
Replies: 11
Views: 5204

Re: 11631 - Dark roads

Hi, I got TLE three times. Here is my code. #include <cstdio> #include <string.h> #include <vector> #include <queue> #include <algorithm> #include <iostream> #define DEBUG 0 using namespace std; struct edge { int f, t, w; bool operator <(const edge &other) const { return this-> w < other.w; } };...

Go to advanced search