Number of ways to split N as sum of K numbers from the given range
Given four positive integer N, K, L, and R, the task is to split N as sum of K numbers lying in the range [L, R].Note: Since the number of ways can be very large. Output answer modulo 1000000007.Examples: Input : N = 12, K = 3, L = 1, R = 5 Output : 10 {2, 5, 5} {3, 4, 5} {3, 5, 4} {4, 3, 5} {4, 4,