Search found 3 matches
- Wed Aug 27, 2014 1:29 pm
- Forum: Volume 10 (1000-1099)
- Topic: 1003 - Can't Cut Down the Forest for the Trees
- Replies: 2
- Views: 4435
Re: 1003 - Can't Cut Down the Forest for the Trees
I'm trying to solve the problem...do the trees fall down on a certain way?
- Thu Jul 03, 2014 6:01 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10267 - Graphical Editor
- Replies: 190
- Views: 77222
Re: 10267 - Graphical Editor
Thanks @kier.guevara XD
- Wed Jul 02, 2014 4:53 am
- Forum: Volume 102 (10200-10299)
- Topic: 10267 - Graphical Editor
- Replies: 190
- Views: 77222
Re: 10267 - Graphical Editor
#include<iostream>
#include<iomanip>
#include<algorithm>
#include<vector>
#include<map>
using namespace std;
int length,height;
char image[251][251];
void floodFill(int x,int y,char oldcol, char repcol)
{
if((x < 1) ||( x > length)) return;
if((y < 1) || ( y > height)) return;
if(image[y][x ...