QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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}); | ^