Hi,
I keep getting a TLE on this problem. I have checked my I/O against all the sets provided during this thread, and they match up...please let me know if you see something blatantly wrong.
Thanks!
#include <algorithm>
#include <iostream>
#include <stack>
#include <vector>
using namespace std ...
Search found 4 matches
- Sat Jul 09, 2011 11:54 am
- Forum: Volume 110 (11000-11099)
- Topic: 11094 - Continents
- Replies: 43
- Views: 28441
- Fri Jul 08, 2011 5:30 am
- Forum: Volume 103 (10300-10399)
- Topic: 10356 - Rough Roads
- Replies: 29
- Views: 19943
Re: 10356 - Rough Roads
Hi,
I'm having a similar issue. I'm not sure where exactly my logic is flawed, but, I have a feeling that it is flawed in a few areas. I read over the previous posts, and tried implementing a 'standard' Dijkstra's style solution, however, I am getting wacky results...any feedback would be much ...
I'm having a similar issue. I'm not sure where exactly my logic is flawed, but, I have a feeling that it is flawed in a few areas. I read over the previous posts, and tried implementing a 'standard' Dijkstra's style solution, however, I am getting wacky results...any feedback would be much ...
- Thu Jul 07, 2011 1:10 am
- Forum: Volume 109 (10900-10999)
- Topic: 10986 - Sending email
- Replies: 65
- Views: 39724
Re: 10986 - Sending email
Hi All,
I'm having a similar issue - my submission is returning a TLE, however, it seems to work on all my local test cases just fine. I'm using a simple Dijkstra's, without any real optimisations.
Here is the code:
#include <algorithm>
#include <iostream>
#include <map>
#include <queue ...
I'm having a similar issue - my submission is returning a TLE, however, it seems to work on all my local test cases just fine. I'm using a simple Dijkstra's, without any real optimisations.
Here is the code:
#include <algorithm>
#include <iostream>
#include <map>
#include <queue ...
- Thu Jun 30, 2011 1:25 am
- Forum: Volume 2 (200-299)
- Topic: 260 - Il Gioco dell'X
- Replies: 19
- Views: 9328
260 - Il Gioco dell'X - TLE
Hi Everyone,
I'm trying to use DFS-based Flood-Fill (for all unvisited 'b' nodes in the first row), however, when I submit my code, it is returning a TLE error.
Can anyone help?
#include <algorithm>
#include <iostream>
#include <stack>
#include <vector>
using namespace std;
int row_dir[] = { -1 ...
I'm trying to use DFS-based Flood-Fill (for all unvisited 'b' nodes in the first row), however, when I submit my code, it is returning a TLE error.
Can anyone help?
#include <algorithm>
#include <iostream>
#include <stack>
#include <vector>
using namespace std;
int row_dir[] = { -1 ...