QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#367197 | #7516. Robot Experiment | ucup-team981 | Compile Error | / | / | C++17 | 1.5kb | 2024-03-25 20:11:43 | 2024-03-25 20:11:45 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:14:7: error: ‘vector’ was not declared in this scope 14 | vector<vector<int>>vis(100,vector<int>(100,0)); | ^~~~~~ answer.code:3:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’? 2 | #include<map> +++ |+#include <vector> 3 | using namespace std; answer.code:14:21: error: expected primary-expression before ‘int’ 14 | vector<vector<int>>vis(100,vector<int>(100,0)); | ^~~ answer.code: In lambda function: answer.code:31:17: error: ‘vis’ was not declared in this scope 31 | if (vis[x + dx + 30][y + dy + 30] == 0) { | ^~~ answer.code: In function ‘int main()’: answer.code:47:7: error: ‘vis’ was not declared in this scope 47 | vis[30][30] = 1; | ^~~