Problem | flip |
---|---|
User | dacashew |
Submission Time | 2023-12-02 17:53:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flip.cpp: In function ‘int main()’:
flip.cpp:110:39: error: ‘cdist’ was not declared in this scope; did you mean ‘cdis’?
110 | q.push({{it.first,it.first.second+cdist},it.second+cswitch});
| ^~~~~
| cdis
flip.cpp:110:64: error: no matching function for call to ‘std::queue<std::pair<std::pair<long long int, long long int>, long long int> >::push(<brace-enclosed initializer list>)’
110 | q.push({{it.first,it.first.second+cdist},it.second+cswitch});
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from flip.cpp:64:
/usr/include/c++/9/bits/stl_queue.h:259:7: note: candidate: ‘void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = std::pair<std::pai