QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#96088 | #5093. 会议 | LeafSeek | Compile Error | / | / | C++14 | 2.6kb | 2023-04-13 10:28:15 | 2023-04-13 10:28:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘bool insert(const D_t&)’: answer.code:97:40: error: invalid initialization of reference of type ‘const std::bitset<100005>&’ from expression of type ‘std::bitset<50005>’ 97 | const int u=sample(T[n]&alive); | ~~~~^~~~~~ answer.code:23:33: note: in passing argument 1 of ‘int sample(const std::bitset<100005>&)’ 23 | int sample(const bitset<n_MAX> &S) | ~~~~~~~~~~~~~~~~~~~~~^ answer.code: In function ‘bool erase(int)’: answer.code:108:28: error: invalid initialization of reference of type ‘const std::bitset<100005>&’ from expression of type ‘std::bitset<50005>’ 108 | const int v=sample(alive); | ^~~~~ answer.code:23:33: note: in passing argument 1 of ‘int sample(const std::bitset<100005>&)’ 23 | int sample(const bitset<n_MAX> &S) | ~~~~~~~~~~~~~~~~~~~~~^ answer.code:112:40: error: invalid initialization of reference of type ‘const std::bitset<100005>&’ from expression of type ‘std::bitset<50005>’ 112 | const int w=sample(T[v]&alive); | ~~~~^~~~~~ answer.code:23:33: note: in passing argument 1 of ‘int sample(const std::bitset<100005>&)’ 23 | int sample(const bitset<n_MAX> &S) | ~~~~~~~~~~~~~~~~~~~~~^