This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class CountStar { | |
static char[][] rowCol; | |
static boolean[][] visited; | |
static int count = 0; | |
static int row, col; | |
public static void main(String[] args) { | |
Scanner in = new Scanner(System.in); |