Problem smallprimes_ex
User avner21
Submission Time 2023-04-24 16:13:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smallprimes_ex.cpp: In function ‘long long int nice_numbers(long long int, const std::vector<int>&)’:
smallprimes_ex.cpp:33:42: error: ‘C’ was not declared in this scope
33 | s += ((j%2 == 0) ? -1 : 1) * C(j, primes) * S[p/primes[j-1]];
| ^
smallprimes_ex.cpp:41:45: error: ‘C’ was not declared in this scope
41 | S[i] += ((j%2 == 0) ? -1 : 1) * C(j, primes) * (S[i/primes[j-1]] - S[primes[j-1]-1]);
| ^