Problem | aliens_ioi |
---|---|
User | PlayVoltz |
Submission Time | 2024-01-10 13:29:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
aliens_ioi.cpp: In function ‘long long int take_photos(int, int, int, std::vector<int>, std::vector<int>)’:
aliens_ioi.cpp:41:76: error: no matching function for call to ‘std::vector<std::pair<long long int, long long int> >::push_back(std::vector<std::pair<long long int, long long int> >&)’
41 | for (int i=1; i<_n; ++i)if (vect.back().second<temp[i].second)vect.pb(temp);
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from aliens_ioi.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:1184:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(con