QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#798831 | #9786. Magical Bags | GuanYunchang | Compile Error | / | / | C++17 | 1.1kb | 2024-12-04 17:37:04 | 2024-12-04 17:37:12 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:43:35: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in initialization 43 | int lp=lower_bound(l.begin(),l.end(),a[i][0]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | __gnu_cxx::__normal_iterator<int*, std::vector<int> > answer.code:44:35: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in initialization 44 | int rp=upper_bound(r.begin(),r.end(),a[i].back()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | __gnu_cxx::__normal_iterator<int*, std::vector<int> >