QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#774610 | #9431. The Quest for El Dorado | ucup-team4741 | Compile Error | / | / | C++23 | 4.5kb | 2024-11-23 13:32:53 | 2024-11-23 13:32:54 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In instantiation of ‘SparseTable<T>::SparseTable(const std::vector<_Tp>&) [with T = long long int]’: answer.code:66:41: required from here answer.code:21:53: error: ‘sz’ was not declared in this scope 21 | for (int pw = 1, k = 1; pw * 2 <= sz(V); pw *= 2, ++k) { | ~~^~~ answer.code:22:44: error: ‘sz’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation 22 | jmp.emplace_back(sz(V) - pw * 2 + 1); | ~~^~~ answer.code:21:53: note: ‘sz’ declared here, later in the translation unit 21 | for (int pw = 1, k = 1; pw * 2 <= sz(V); pw *= 2, ++k) { | ~~^~~ answer.code:23:35: error: ‘sz’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation 23 | rep(j,0,sz(jmp[k])) | ^ answer.code:9:40: note: in definition of macro ‘rep’ 9 | #define rep(i,a,b) for(int i = a; i < (b); i++) | ^ answer.code:21:53: note: ‘sz’ declared here, later in the translation unit 21 | for (int pw = 1, k = 1; pw * 2 <= sz(V); pw *= 2, ++k) { | ~~^~~