// // Given a (converted) image (training or otherwise) // Give us a part of it (first m rows, first n columns) // import java.util.*; import java.io.*; public class SamplePattern { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(new File(args[0])); int m = sc.nextInt(); // rows int n = sc.nextInt(); // columns int rows = Integer.parseInt(args[1]); int cols = Integer.parseInt(args[2]); int [][] pattern = new int [m][n]; for (int i=0;i