Problem | eeducation |
---|---|
User | aa24codebreaker |
Submission Time | 2023-11-15 11:44:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eeducation.cpp: In function ‘int32_t main()’:
eeducation.cpp:19:12: error: ‘any_of’ is not a member of ‘std’
19 | if (std::any_of(std::begin(myArray), std::end(myArray), [=](int n){return n == x;})) {
| ^~~~~~
eeducation.cpp:19:30: error: ‘myArray’ was not declared in this scope
19 | if (std::any_of(std::begin(myArray), std::end(myArray), [=](int n){return n == x;})) {
| ^~~~~~~