Problem flybot
User dooweidde
Submission Time 2025-12-20 18:54:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flybot.cpp: In function ‘std::vector<std::vector<long long int> > solve(long long int, long long int, long long int, long long int)’:
flybot.cpp:16:45: error: could not convert ‘0’ from ‘int’ to ‘std::vector<std::vector<long long int> >’
16 | if ((sourcex < 0) or (sourcey < 0)) return 0;
| ^
| |
| int
flybot.cpp:17:6: error: ‘m’ was not declared in this scope
17 | if (m[sourcex][sourcey] == "X") return 0;
| ^
flybot.cpp:17:41: error: could not convert ‘0’ from ‘int’ to ‘std::vector<std::vector<long long int> >’
17 | if (m[sourcex][sourcey] == "X") return 0;
| ^
| |
| int
flybot.cpp:18:44: error: co