QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#500262 | #9161. Naval battle | hyforces# | Compile Error | / | / | C++20 | 5.9kb | 2024-08-01 06:51:11 | 2024-08-01 06:51:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In member function ‘void Bucket::erase(int, int, int)’: answer.code:119:21: error: no match for ‘operator[]’ (operand types are ‘std::multiset<std::pair<int, int> >’ and ‘int’) 119 | glob[xi].erase({shells[xi].best(),xi<<3|bid}); | ^ answer.code:121:21: error: no match for ‘operator[]’ (operand types are ‘std::multiset<std::pair<int, int> >’ and ‘int’) 121 | glob[xi].insert({shells[xi].best(),xi<<3|bid}); | ^