QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#90007 | #1212. Navigation | youwike | Compile Error | / | / | C++14 | 654b | 2023-03-21 22:19:19 | 2023-03-21 22:19:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Anna.code:5:1: error: ‘vector’ does not name a type 5 | vector<int> path[100010]; | ^~~~~~ Anna.code:6:9: error: ‘N’ was not declared in this scope 6 | int col[N]; | ^ Anna.code: In function ‘void dfs(int, int)’: Anna.code:9:3: error: ‘c’ was not declared in this scope 9 | c[u] = (u < _fa) ^ c[_fa]; | ^ Anna.code:11:17: error: ‘path’ was not declared in this scope 11 | for (auto v : path[u]) { | ^~~~ Anna.code: In function ‘void Anna(int, int, int, int*, int*)’: Anna.code:19:5: error: ‘path’ was not declared in this scope 19 | path[A[i]].emplace_back(B[i]); | ^~~~ grader.cpp: In function ‘int main(int, char**)’: grader.cpp:144:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | scanf("%d%d%d%d", &K, &S, &F, &L); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ grader.cpp:146:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 146 | scanf("%d", &P_[i]); | ~~~~~^~~~~~~~~~~~~~ grader.cpp:150:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 150 | scanf("%d", &Q_[i]); | ~~~~~^~~~~~~~~~~~~~