Problem math
User tacticalnerd
Submission Time 2024-05-01 17:07:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

math.cpp: In function ‘bool has_prime_digit(int, const std::vector<int>&)’:
math.cpp:29:13: error: ‘binary_search’ was not declared in this scope
29 | if (binary_search(primes.begin(), primes.end(), digit)) {
| ^~~~~~~~~~~~~