Problem variety
User Tyx2019
Submission Time 2023-07-03 18:38:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

variety.cpp: In function ‘int main()’:
variety.cpp:57:9: error: ‘struct node’ has no member named ‘upd’
57 | seggs->upd(0,0);
| ^~~
variety.cpp:65:10: error: ‘struct node’ has no member named ‘upd’
65 | seggs->upd(i,dp[i]);
| ^~~