QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#436525 | #8781. Element-Wise Comparison | ucup-team3665# | Compile Error | / | / | C++14 | 2.3kb | 2024-06-09 01:26:20 | 2024-06-09 01:26:27 |
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:16:10: error: missing template arguments before ‘g’ 16 | vector g(N, vector<int>()); | ^ answer.code:35:5: error: ‘g’ was not declared in this scope 35 | g[x].push_back(i), g[y].push_back(i); | ^ answer.code: In lambda function: answer.code:57:23: error: ‘g’ was not declared in this scope 57 | for (auto &id : g[x]) { | ^ answer.code: In function ‘int main()’: answer.code:84:17: error: ‘g’ was not declared in this scope 84 | shuffle(g[i].begin(), g[i].end(), engine); | ^