Sudoku solution checker
14:05 01 Mar 2017

I have a program in Java that check if a sudoku is valid or not, I have two methods, the first is check the sum of all columns, sub-grids, rows and tell if is 45, and the second is check if the sum of all the sudoku is 405 or not if yes, so the sudoku is valid so I'm looking for a counter example, that in input I have a valid sudoku but the programme tell that is not valid , so this is the code :

public class test_checker {
    static final boolean valide=true;
    static final boolean non_valide=false;

    // verify every sub-grid if it is valid
        static boolean check_subgrid(int a[][],int ei,int ej){
            int sum=0;
            for(int i=ei;i
java sudoku