Description 輸入n(1<=n<=50),m(1<=m<=10),s1,s2, 再輸入n個非負的整數, 試求哪m個數之和剛好在s1至s2之間(包括s1和s2),只印出有多少組解。
Input n,m,s1,s2
Output 多少组解
Sample Input
5 3 10 20
1 8 12 3 18
Sample Output 2
求个大佬帮忙,实在不行讲讲思路也可以