Problem | promotion |
---|---|
User | chenweilian |
Submission Time | 2023-05-31 15:33:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
promotion.cpp: In function ‘int main()’:
promotion.cpp:36:2: error: ‘BIT’ was not declared in this scope
36 | BIT bit(n);
| ^~~
promotion.cpp:42:8: error: ‘bit’ was not declared in this scope
42 | bit.sum(out[a[r].second]) - bit.sum(in[a[r].second] - 1);
| ^~~
promotion.cpp:46:31: error: ‘bit’ was not declared in this scope
46 | for (int j = i; j < r; j++) bit.update(out[a[j].second], 1);
| ^~~