Driver Code
public static void Main ( string [ ] args ) { int X = 100 , K = 45 ; int [ ] arr = { 2 , 5 , 2 , 6 } ; int [ ] R = { 10 , 13 , 15 , 12 } ; int N = arr . Length ; findMinDays ( arr , R , N , X , K ) ; } }