Problem runway
User OIaspirant2307
Submission Time 2024-04-10 15:24:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

runway.cpp: In function ‘void dfs(long long int, long long int)’:
runway.cpp:47:9: error: no match for ‘operator==’ (operand types are ‘std::pair<long long int, long long int>’ and ‘long long int’)
47 | if(ch == p){
| ~~ ^~ ~
| | |
| | long long int
| std::pair<long long int, long long int>
In file included from /usr/include/c++/9/iosfwd:40,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from runway.cpp:1:
/usr/include/c++/9/bits/postypes.h:222:5: note: candidate: ‘template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)’
222 | operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
| ^~~~~~~~
/usr/include/c++/9/bits/postypes.h:222:5: note: template a