QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#118496 | #4303. New Level | larryzhong | Compile Error | / | / | C++17 | 2.1kb | 2023-07-03 16:42:08 | 2023-07-03 16:42:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:66:41: error: no match for ‘operator[]’ (operand types are ‘std::tuple_element<1, std::pair<int, std::__cxx11::list<int> > >::type’ {aka ‘std::__cxx11::list<int>’} and ‘int’) 66 | if (v.size() != d.size(v[0])) continue; | ^ answer.code:78:35: error: no match for ‘operator[]’ (operand types are ‘std::tuple_element<1, std::pair<int, std::__cxx11::list<int> > >::type’ {aka ‘std::__cxx11::list<int>’} and ‘int’) 78 | int bel = d.find(v[0]); | ^