Problem verticallychallenged
User wtnetlegend
Submission Time 2026-04-29 14:54:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

verticallychallenged.cpp: In function ‘int main()’:
verticallychallenged.cpp:22:9: error: ‘updateBIT’ was not declared in this scope
22 | updateBIT(n, v[i], 1LL, BIT);
| ^~~~~~~~~
verticallychallenged.cpp:29:9: error: ‘updateBIT’ was not declared in this scope
29 | updateBIT(n, v[cnt], 1LL, BIT);
| ^~~~~~~~~
verticallychallenged.cpp:33:21: error: ‘getsum’ was not declared in this scope
33 | if (getsum(n, BIT) - getsum(mid-1, BIT) >= k){
| ^~~~~~