import java.util.Scanner; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author cteam037 */ public class Forest { int m = 0; int n = 0; char[][] image; void run() { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { m = sc.nextInt(); n = sc.nextInt(); image = new char[m][m]; initImage(); for(int obj = 0;obj