Function that prints another array whose all subarray of length k have an equal sum
static void MakeArray ( int a [ ] , int n , int k ) { HashMap < Integer , Integer > mp = new HashMap < Integer , Integer > ( ) ;