Problem | aliens_ioi |
---|---|
User | PlayVoltz |
Submission Time | 2024-01-10 13:29:00 |
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:37:10: error: ‘_k’ was not declared in this scope; did you mean ‘_n’?
37 | m=_m, k=_k;
| ^~
| _n
aliens_ioi.cpp:42: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> >&)’
42 | 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,