why im getting TLE
can any one help me?
#include <iostream>
#include <queue>
#define PR pair<int,int>
#define SS 1009
using namespace std;
int dist[SS][SS];
char in[SS][SS];
bool visited[SS][SS];
int main(){
queue<PR> q,source;
int dirx[]={1,0,-1,0};
int diry[]={0,-1,0,1};
int i,j,k,m ...
Search found 3 matches
- Fri Oct 31, 2008 5:25 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10102 - The path in the colored field
- Replies: 34
- Views: 17215
- Wed Oct 22, 2008 7:53 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10282 - Babelfish
- Replies: 48
- Views: 27442
Re: 10282 - Babelfish
got ac
- Wed Oct 22, 2008 12:46 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10282 - Babelfish
- Replies: 48
- Views: 27442