Problem smallprimes
User n1k1trh
Submission Time 2025-09-16 16:48:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smallprimes.cpp: In function ‘void solver()’:
smallprimes.cpp:34:25: error: ‘LIMIT’ was not declared in this scope
34 | for (ll a = 1; a <= LIMIT; a *= 2) for (ll b = a; b <= LIMIT; b *= 3) for (ll c = b; c <= LIMIT; c *= 5) for (ll d = c; d <= LIMIT; d *= 7) niceNumbers.push_back(d);
| ^~~~~
smallprimes.cpp: In function ‘int main()’:
smallprimes.cpp:45:100: error: ‘nice’ was not declared in this scope
45 | auto low = lower_bound(niceNumbers.begin(), niceNumbers.end(), a); auto high = upper_bound(nice.begin(), nice.end(), b);
| ^~~~