#include <iostream>

#include<vector>

using namespace std;

int main()

{

    ios_base::sync_with_stdio(0);

    cin.tie(0);

    int a, b;

cin>>a>>b;

    int c = 1;

    for (int i = b; i < a; i++)

    {

        c *= i;

    }

    cout << c;

    //5c4=4c4+4c3

}

갑자기 생각 난 방법인데 이항 계수 쓸 빠에

이게 훨씬 빠른 거 같은데 나만 모르고 있었나?