algorithm-archive icon indicating copy to clipboard operation
algorithm-archive copied to clipboard

Flood fill in java

Open harper0201 opened this issue 3 years ago • 4 comments

add java code for implementation of flood fill

harper0201 avatar Sep 06 '22 05:09 harper0201

Hi, thank you for your interest in the Algorithm Archive! We will try to review your code as quickly as possible to get it merged in if we feel your code is high enough quality.

However, the first step of admissibility is not yet reached: you need to get your code to compile on a Docker Ubuntu-based environment, which, as I am writing this, just failed. Below is the full error (slightly reformatted):

contents/flood_fill/code/java/main.java:5: error: cannot find symbol
        flood_fill f = new flood_fill();
        ^
  symbol:   class flood_fill
  location: class main

contents/flood_fill/code/java/main.java:5: error: cannot find symbol
        flood_fill f = new flood_fill();
                                   ^
  symbol:   class flood_fill
  location: class main

contents/flood_fill/code/java/main.java:6: error: cannot find symbol
        Point start = new Point(0,0);
        ^
  symbol:   class Point
  location: class main

contents/flood_fill/code/java/main.java:6: error: cannot find symbol
        Point start = new Point(0,0);
                                    ^
  symbol:   class Point
  location: class main

Please fix it, so we can review and eventually merge your code in.

Amaras avatar Sep 06 '22 08:09 Amaras

Hi, Thanks for your patience. I just committed a new version which is already tested in my ubuntu-based environment. Please help check it.

harper0201 avatar Sep 06 '22 22:09 harper0201

Thank you for the reactivity (relative to timezones, of course)! If this compiles, I'll try to get someone to review it :)

Amaras avatar Sep 07 '22 02:09 Amaras

Hi, Thanks for your time and patience. Maybe because I did something wrong about git operations, so it became a empty file. I have already fixed it. Could you please check it again ?

harper0201 avatar Sep 07 '22 03:09 harper0201