Problem | gotoschool |
---|---|
User | c00dingstudygolden |
Submission Time | 2024-05-16 09:47:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoschool.cpp: In function ‘int32_t main()’:
gotoschool.cpp:21:69: error: cannot convert ‘__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >’ to ‘long long int’ in assignment
21 | mapping[i-1]=find(pickedGifts.begin(), pickedGifts.end(), i)+1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| __gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >