QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#112751 | #3554. Sweeping | flower | Compile Error | / | / | C++14 | 5.7kb | 2023-06-13 11:10:36 | 2023-06-13 11:10:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void CAT::addrange(int, int, int, int)’: answer.code:42:23: error: invalid types ‘int[int]’ for array subscript 42 | if(!id[u]) id[u] = ++ cnt; | ^ answer.code:42:30: error: invalid types ‘int[int]’ for array subscript 42 | if(!id[u]) id[u] = ++ cnt; | ^ answer.code:47:22: error: invalid types ‘int[int]’ for array subscript 47 | q1[id[u]].emplace(ql, other[y] = x); | ^ answer.code:48:22: error: invalid types ‘int[int]’ for array subscript 48 | q2[id[u]].emplace(qr, other[x] = y); | ^ answer.code: In function ‘void CAT::ins(int&, int, int, int, int, int)’: answer.code:51:54: error: invalid types ‘int[int]’ for array subscript 51 | if(!u) u = ++ tot, ls[u] = rs[u] = id[u] = 0, assert(u < S - 10); | ^ answer.code: In function ‘void CAT::mdfr(int&, int, int, int)’: answer.code:87:38: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 87 | auto [pl, x] = q1[id[u]].top(); | ^ answer.code:96:38: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 96 | auto [pr, x] = q2[id[u]].top(); | ^ answer.code: In function ‘void CAT::mdfl(int, int, int, int)’: answer.code:112:38: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 112 | auto [pr, x] = q2[id[u]].top(); | ^ answer.code:121:38: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ 121 | auto [pl, x] = q1[id[u]].top(); | ^