QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#292531 | #7120. Soccer | alch07 | Compile Error | / | / | C++14 | 9.0kb | 2023-12-28 07:04:18 | 2024-04-28 08:10:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int biggest_stadium(int, std::vector<std::vector<int> >)’: answer.code:282:31: error: no match for ‘operator[]’ (operand types are ‘std::vector<std::pair<int, int> > [4500000]’ and ‘__gnu_cxx::__alloc_traits<std::allocator<rectangle>, rectangle>::value_type’ {aka ‘rectangle’}) 282 | transitioncount += transitions[rlist[i]].size(); | ^