
/*
Online Java - IDE, Code Editor, Compiler

Online Java is a quick and easy tool that helps you to build, compile, test your programs online.
*/

public class Main
{
    public static void main(String[] args) {
        
        int mice[] = new int[]{1,4,9,15};
        int holes[] = new int[]{10,-5,0,16};
        int length = holes.length-1;
        
        
        smallestDifference sd = new smallestDifference(mice, holes, length);
        
        System.out.println("Welcome to Online IDE!! Happy Coding :)");
    }
}


class smallestDifference
{
    int directionSize[][];
    int mice[];
    int holes[];
    int length;
    
    public smallestDifference(int mice[], int holes[], int length)
    {
        directionSize = new int[length][length];
        this.mice=mice;
        this.holes=holes;
        this.length=length;
        int temp;
        
        for (int i=0; i<length;i++)
        {
            for (int j=0; j<length;j++)
            {
                temp= Math.abs(mice[i]-holes[j]);
                directionSize[i][j]=temp;
                
            }
        }
    }
    
    public int getSmallestDifference()
    {
        return 0;
    }
    
}
