QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#870860 | #8618. Have You Seen This Subarray? | ucup-team3727# | Compile Error | / | / | C++20 | 3.0kb | 2025-01-25 17:59:14 | 2025-01-25 17:59:41 |
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:97:20: error: no match for ‘operator[]’ (operand types are ‘std::pair<const int, std::vector<std::pair<int, int> > >’ and ‘int’) 97 | pos = x[0]; | ^ answer.code:98:26: error: no match for ‘operator[]’ (operand types are ‘std::pair<const int, std::vector<std::pair<int, int> > >’ and ‘int’) 98 | dfs(dfs, 1, x[1], x[2]); | ^ answer.code:98:32: error: no match for ‘operator[]’ (operand types are ‘std::pair<const int, std::vector<std::pair<int, int> > >’ and ‘int’) 98 | dfs(dfs, 1, x[1], x[2]); | ^