Problem nprime2
User DoubleShaurya12
Submission Time 2024-04-06 17:10:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime2.cpp: In function ‘int main()’:
nprime2.cpp:33:9: error: ‘all_of’ was not declared in this scope
33 | if (all_of(primes, primes + numPrimes, [&prime](int p) { return prime % p != 0; })) {
| ^~~~~~