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 ...
Search found 2 matches
- Fri May 22, 2015 7:08 am
- Forum: Volume 4 (400-499)
- Topic: 469 - Wetlands of Florida
- Replies: 63
- Views: 32530
- 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 ...
#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 ...