Problem floors
User wtnetlegend
Submission Time 2026-04-03 21:20:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

floors.cpp: In function ‘int main()’:
floors.cpp:24:17: error: ‘updateBIT’ was not declared in this scope
24 | updateBIT(n, x, 1LL, BIT);
| ^~~~~~~~~
floors.cpp:27:21: error: ‘getsum’ was not declared in this scope
27 | if (getsum(x-1, BIT) < (x-1)){
| ^~~~~~
floors.cpp:38:25: error: ‘updateBIT’ was not declared in this scope
38 | updateBIT(n, ans, 1LL, BIT);
| ^~~~~~~~~
floors.cpp:52:25: error: ‘updateBIT’ was not declared in this scope
52 | updateBIT(n, ans, 1LL, BIT);
| ^~~~~~~~~