Getting Time Limit Please Help
#include<stdio.h>
#include<string.h>
char str[120];
char A[120][120], B[120][120];
int N, count, M;
int rx[]={-1, -1, -1, 0, 0, 1, 1, 1};
int ry[]={-1, 0, 1, -1, 1, -1, 0, 1};
void traverse(int x, int y)
{
int dx, dy, i;
count++;
B[x][y]=1;
for( i = 0; i ...
Search found 2 matches
- Fri May 22, 2015 12:46 pm
- Forum: Volume 4 (400-499)
- Topic: 469 - Wetlands of Florida
- Replies: 63
- Views: 32530
- Fri May 22, 2015 12:33 pm
- Forum: Volume 4 (400-499)
- Topic: 469 - Wetlands of Florida
- Replies: 63
- Views: 32530
Re: 469 - Wetlands of Florida
Getting TL please Help
#include<stdio.h>
#include<string.h>
char str[120];
char A[120][120], B[120][120];
int N, count, M;
int rx[]={-1, -1, -1, 0, 0, 1, 1, 1};
int ry[]={-1, 0, 1, -1, 1, -1, 0, 1};
void traverse(int x, int y)
{
int dx, dy, i;
count++;
B[x][y]=1;
for( i = 0; i < 8; i ...
#include<stdio.h>
#include<string.h>
char str[120];
char A[120][120], B[120][120];
int N, count, M;
int rx[]={-1, -1, -1, 0, 0, 1, 1, 1};
int ry[]={-1, 0, 1, -1, 1, -1, 0, 1};
void traverse(int x, int y)
{
int dx, dy, i;
count++;
B[x][y]=1;
for( i = 0; i < 8; i ...