QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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) | ~~~~~~~~~~~~~~~~~~~~~^