Untitled

mail@pastecode.io avatar
unknown
java
2 years ago
588 B
2
Indexable
Never
public static void main(String[] args) {

        int[] a = new int[] {1, 2, 6, 7, 16};
        int[] b = new int[] {5, 4, 6, 14, 19};
        int k = 2;
//
//        int[] a = new int[] {1, 2, 5, 10};
//        int[] b = new int[] {2, 4, 8, 11};
//        int k = 2;

//        int[] a = new int[] {3, 2, 3};
//        int[] b = new int[] {5, 9, 3};
//        int k = 10;

//        int[] a = new int[] {1, 3, 8, 12};
//        int[] b = new int[] {2, 5, 9, 13};
//        int k = 1;
//        k = 2;
//        k = 3;
        

        System.out.println(minimumDivision(a, b, k));
    }