QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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]); | ~~~~~^~~~~~~~~~~~~~