package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/count-luck
 */
public class CountLuck {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // TODO
    }
}

@@ -135,108 +135,684 @@
    p
-ublic static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A        // TODO
+rivate static String countLuck(String%5B%5D%5B%5D matrix, int n, int m, int k) %7B%0A        // TODO%0A        return %22%22;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A        int testCases = in.nextInt();%0A        for (int t = 0; t %3C testCases; t++) %7B%0A            int n = in.nextInt();%0A            int m = in.nextInt();%0A            String%5B%5D%5B%5D matrix = new String%5Bn%5D%5Bm%5D;%0A            for (int i = 0; i %3C n; i++) %7B%0A                for (int j = 0; j %3C m; j++) %7B%0A                    matrix%5Bi%5D%5Bj%5D = in.next();%0A                %7D%0A            %7D%0A            int k = in.nextInt();%0A            System.out.println(countLuck(matrix, n, m, k));%0A        %7D
 %0A   

Update Count Luck