Problem | lightningrod |
---|---|
User | SuspiciousAmogus |
Submission Time | 2024-05-24 18:21:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:35:41: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::back() const [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::const_reference = const std::pair<int, int>&]’ (did you forget the ‘()’ ?)
35 | if (check(v.back().first, v.back.second, p.first, p.second)) {
| ~~^~~~
| ()