QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#293467 | #7122. Overtaking | hyforces | Compile Error | / | / | C++20 | 2.6kb | 2023-12-29 10:43:07 | 2024-04-28 08:22:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void init(int, int, std::vector<long long int>, std::vector<int>, int, int, std::vector<int>)’: answer.code:39:22: error: cannot convert ‘__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >’ to ‘long long int’ in initialization 39 | ll zz=max_element(T.begin(),T.end()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | __gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >