Problem nostatement
User PlayVoltz
Submission Time 2023-08-22 20:12:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nostatement.cpp: In function ‘ll findLargestDivisor(ll, ll)’:
nostatement.cpp:25:13: error: ‘max_element’ was not declared in this scope
25 | return *max_element(candidates.begin(), candidates.end());
| ^~~~~~~~~~~
nostatement.cpp: In function ‘int main()’:
nostatement.cpp:47:9: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
47 | sort(primes.begin(), primes.end(), greater<ll>());
| ^~~~
| qsort