Problem | distribution |
---|---|
User | siewjh |
Submission Time | 2023-11-10 12:34:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from distribution.cpp:1:
/usr/include/c++/9/bits/stl_algo.h: In instantiation of ‘_ForwardIterator std::search(_ForwardIterator, _ForwardIterator, const _Searcher&) [with _ForwardIterator = int; _Searcher = int]’:
distribution.cpp:61:16: required from here
/usr/include/c++/9/bits/stl_algo.h:4310:24: error: expression cannot be used as a function
4310 | { return __searcher(__first, __last).first; }
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~