Problem | flybot |
---|---|
User | carson |
Submission Time | 2025-05-21 17:33:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flybot.cpp: In function ‘int main()’:
flybot.cpp:13:31: error: invalid conversion from ‘const char*’ to ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} [-fpermissive]
13 | dq[0][0],dq[0][1],dq[1][0] = ".";
| ^~~
| |
| const char*
flybot.cpp:16:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
16 | if(arr[i][j] == "."){
| ^~~
flybot.cpp:24:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘std::vector<int>’})
24 | cout << dq[n-1]m-1]
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:3