***我是真的看不懂这个吊毛动态规划是什么JB狗币逻辑我真是草了滚

import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println(getCount(scan.nextInt(), scan.nextInt()));
    }
    
    public static int getCount(int m, int n){
        if(m < 0 || n <= 0){
            return 0;
        }
        if(m == 1 || n == 1 || m == 0){
            return 1;
        }
        return getCount(m,n-1) + getCount(m-n, n);
    }
}