| Problem | payraise |
|---|---|
| User | sussygoose |
| Submission Time | 2024-12-01 19:57:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
payraise.cpp: In constructor ‘fenwick::fenwick(long long int)’:
payraise.cpp:21:23: error: ‘_n’ was not declared in this scope; did you mean ‘n’?
21 | fenwick(int n): n(_n+1), fw(_n+1,0) {}
| ^~
| n
payraise.cpp: In function ‘int main()’:
payraise.cpp:53:9: error: ‘f’ was not declared in this scope
53 | f.up(pre[i], pre[i], s);
| ^
payraise.cpp:60:13: error: ‘f’ was not declared in this scope
60 | f.up(pre[x], nd[x], d);
| ^
payraise.cpp:63:21: error: ‘f’ was not declared in this scope
63 | cout << f.qry(pre[x]) << "\n";
| ^