Problem rotarylock
User wilson9304
Submission Time 2025-12-07 13:19:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rotarylock.cpp:6:12: error: ‘int64’ was not declared in this scope; did you mean ‘int64_t’?
6 | vector<int64> bit;
| ^~~~~
| int64_t
rotarylock.cpp:6:17: error: template argument 1 is invalid
6 | vector<int64> bit;
| ^
rotarylock.cpp:6:17: error: template argument 2 is invalid
rotarylock.cpp:14:23: error: ‘int64’ has not been declared
14 | void add(int idx, int64 val) {
| ^~~~~
rotarylock.cpp:19:34: error: ‘int64’ has not been declared
19 | void range_add(int l, int r, int64 val) {
| ^~~~~
rotarylock.cpp:24:5: error: ‘int64’ does not name a type; did you mean ‘int64_t’?
24 | int64 point_query(int idx) {
| ^~~~~
| int64_t
rotarylock.cpp: In constructor ‘FenwickTree::FenwickTree(long long int)’:
rotarylock.cpp:11:13: error: request for member