Problem | airplane |
---|---|
User | Hengweezy |
Submission Time | 2024-03-03 00:14:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
airplane.cpp: In function ‘int d(std::vector<std::vector<std::pair<int, int> > >&, int)’:
airplane.cpp:6:27: error: expected unqualified-id before ‘=’ token
6 | const set<pair<int,int>> = {INT_MAX, INT_MAX};
| ^
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from airplane.cpp:1:
/usr/include/c++/9/bits/stl_set.h: In instantiation of ‘std::set<_Key, _Compare, _Alloc>::set(_InputIterator, _InputIterator) [with _InputIterator = int; _Key = std::pair<int, int>; _Compare = std::less<std::pair<int, int> >; _Alloc = std::allocator<std::pair<int, int> >]’:
airplane.cpp:7:55: required from here
/usr/include/c++/9/bits/stl_set.h:193:4: error: no matching function for call to ‘std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair