Solution to the problem number 190 of AceptaelReto - 190.

Any questions do not hesitate to contact.

#include <iostream>
using namespace std;
int main() {
    long long num, den;
    while (cin >> num >> den && num >= den) {
        long long ans = 1;
        for (long long i = den+1; i <= num; i++)
            ans *= i;

        cout << ans << endl;
    }

    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!