Search found 2 matches

by nobi999
Fri May 22, 2015 7:08 am
Forum: Volume 4 (400-499)
Topic: 469 - Wetlands of Florida
Replies: 63
Views: 32530

469 - Wetlands of Florida

Why WA ? I have checked all the Random inputs of Udebug. Those are working smoothly.


#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#define maxX 110
#define maxY 110

char** pixel;

char waterland[maxX][maxY];

int testcase;

int rowCounter = 0;
int colCounter = 0;


int wetlandCount ...
by nobi999
Fri May 22, 2015 6:48 am
Forum: Volume 4 (400-499)
Topic: 469 - Wetlands of Florida
Replies: 63
Views: 32530

Re: 469 - Wetlands of Florida

Why WA?

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#define maxX 110
#define maxY 110

char** pixel;

char waterland[maxX][maxY];

int testcase;

int rowCounter = 0;
int colCounter = 0;


int wetlandCount = 0;

void floodFillUtil(int x, int y)
{
char prevC = 'W';
char newC = 'L ...

Go to advanced search