Problem rmaxq
User ilikeeggs
Submission Time 2025-02-27 16:56:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rmaxq.cpp: In function ‘int32_t main()’:
rmaxq.cpp:50:12: error: ‘struct node’ has no member named ‘update’
50 | rt -> update(i, ai);
| ^~~~~~
rmaxq.cpp:60:25: error: ‘i’ was not declared in this scope
60 | rt -> upd(a, a[i]+c);
| ^