QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#365179 | #8225. 最小值之和 | ucup-team1383 | Compile Error | / | / | C++20 | 5.0kb | 2024-03-24 20:39:59 | 2024-03-24 20:39:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:149:46: error: expected primary-expression before ‘>’ token 149 | if (it == ord + (1 << h) || it - > first != y || !in_tree(it - > second, x) || | ^ answer.code:149:48: error: ‘first’ was not declared in this scope 149 | if (it == ord + (1 << h) || it - > first != y || !in_tree(it - > second, x) || | ^~~~~ answer.code:149:76: error: expected primary-expression before ‘>’ token 149 | if (it == ord + (1 << h) || it - > first != y || !in_tree(it - > second, x) || | ^ answer.code:149:78: error: ‘second’ was not declared in this scope 149 | if (it == ord + (1 << h) || it - > first != y || !in_tree(it - > second, x) || | ^~~~~~ answer.code:154:26: error: expected primary-expression before ‘>’ token 154 | int u = it - > second, d = __lg(x); | ^ answer.code:154:28: error: ‘second’ was not declared in this scope 154 | int u = it - > second, d = __lg(x); | ^~~~~~ answer.code:156:65: error: ‘d’ was not declared in this scope 156 | cout << pw2[s2 - tr[x].sum + tr[x].query(rk1[u][d])] << "\n"; | ^ answer.code:158:43: error: ‘d’ was not declared in this scope 158 | cout << (tr[x].val[rk1[u][d]] ? pw2[s2 - tr[x].sum + tr[x].query(rk1[u][d]) - 1] : 0) << "\n"; | ^