Search found 3 matches

by trokan
Sun Mar 09, 2008 2:51 am
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77697

I have gone through everything, iterative flood fill, recursive flood fill, check if X1>X2, Y1>Y2 and all we have discussed before, i keep getting wrong answer with the implementation shown below, if anybody finds a problem i would gladly appreciated.

import java.io.*;
import java.util.*;

class ...
by trokan
Fri Mar 07, 2008 7:07 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77697

it just doesnt recurse too deeply, it will never stop calling itselft over and over again, since the conditions that you have established will always be met.
by trokan
Fri Mar 07, 2008 7:05 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77697

consider the possibility that for case F, the color in (X,Y) is the same as new color, if this is true, your programs recurses too deeply causing a runtime error

Go to advanced search