C ++ program to find an array that can be sorted with k merge sort calls .
#include <iostream> NEW_LINE using namespace std ; void unsort ( int l , int r , int a [ ] , int & k ) { if ( k < 1 l + 1 == r ) return ;