Problem expansion
User JustKitkat
Submission Time 2025-01-02 00:58:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

expansion.cpp: In function ‘void solve()’:
expansion.cpp:78:46: error: no matching function for call to ‘node2::upd(int&, int)’
78 | dp->upd(r,val+(cover-ball[i]));
| ^
expansion.cpp:40:7: note: candidate: ‘void node2::upd(int, int, int)’
40 | void upd(int l, int r, int v){
| ^~~
expansion.cpp:40:7: note: candidate expects 3 arguments, 2 provided