Language: C++

#include <bits/stdc++.h>
using namespace std;
/// Typedef
typedef long long           ll;
typedef vector<int>         vi;
typedef pair<int,int>       pii;

#define pb                  push_back
#define ppb                 pop_back
#define MP                  make_pair
#define ff                  first
#define ss                  second
#define sf                  scanf
#define pf                  printf
#define SQR(x)              ((x)*(x))
#define loop(i, y)          for(int i=0; i<int(y); i++)
#define FOR(i, x, y)        for(int i=int(x); i<int(y); i++)
#define ROF(i, x, y)        for(int i=int(x); i>=int(y); i--)
#define all(c)              c.begin(), c.end()
#define sz(c)               int(c.size())
#define clr(x, y)           memset(x, y, sizeof(x))
#define si(x)               scanf("%d", &x)
#define sii(x, y)           scanf("%d %d", &x, &y)
#define siii(x, y, z)       scanf("%d %d %d", &x, &y, &z)
#define sl(x)               scanf("%lld", &x)
#define sll(x, y)           scanf("%lld %lld", &x, &y)
#define slll(x, y, z)       scanf("%lld %lld %lld", &x, &y, &z)

#ifdef VAMP
     #define debug(...) __f(#__VA_ARGS__, __VA_ARGS__)
    template < typename Arg1 >
    void __f(const char* name, Arg1&& arg1){
        cout << name << " = " << arg1 << std::endl;
    }
    template < typename Arg1, typename... Args>
    void __f(const char* names, Arg1&& arg1, Args&&... args){
        const char* comma = strchr(names+1, ',');
        cout.write(names, comma - names) << " = " << arg1 <<" | ";
        __f(comma+1, args...);
    }
#else
    #define debug(...)
#endif
///******************************************START******************************************

/// Constants
#define MAX                 200005
#define MOD                 1000000007
#define eps                 1e-9
#define INF                 0x3f3f3f3f3f3f3f3f // 4,557,430,888,798,830,399
#define inf                 0x3f3f3f3f // 1,061,109,567
#define PI                  acos(-1.0)  // 3.1415926535897932
#define VT                  int

vector<int> v, pp;
vector<int> valids{3, 5, 15, 25, 75};
int DP[102][102];


void primes(){
    FOR(i, 2, 101){
        bool f = 1;
        FOR(j, 2, i){
            if(i%j == 0) f = 0;
        }
        if(f) pp.pb(i);
    }
}

int getCount(int d, int n){
    int res = 0;
    for(int i = d; i <= n; i*=d){
        res += n/i;
    }
    return res;
}

int solve(int pos, int make){
    if(pos == sz(v)) return make == 1;
    int &ret = DP[pos][make];
    if(~ret) return ret;
    ret = solve(pos+1, make);
    for(auto x: valids){
        if(v[pos]>=x-1 and (make % x == 0)){
            ret += solve(pos+1, make/x);
        }
    }
    return ret;
}

int main(){
    #ifdef VAMP
        clock_t tStart = clock();
        freopen("input.txt", "r", stdin);
        freopen("output.txt", "w", stdout);
    #endif
    primes();
    int n; si(n); clr(DP, -1);
    for(auto &p: pp){
        int cnt = getCount(p, n);
        if(cnt) v.pb(cnt), debug(p, cnt);
    }
    printf("%d\n", solve(0, 75));

    #ifdef VAMP
        fprintf(stderr, "\n>> Runtime: %.10fs\n", (double) (clock() - tStart) / CLOCKS_PER_SEC);
    #endif
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:101:41: error: expected primary-expression before ';' token
  101 |         if(cnt) v.pb(cnt), debug(p, cnt);
      |                                         ^