Problem shamelessad4
User wrizz69
Submission Time 2024-12-11 11:01:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad4.cpp: In member function ‘long long int node::query1(long long int, long long int)’:
shamelessad4.cpp:68:38: error: ‘val’ was not declared in this scope; did you mean ‘val1’?
68 | if (s == S && e == E) return val;
| ^~~
| val1
shamelessad4.cpp: In function ‘int32_t main()’:
shamelessad4.cpp:97:15: error: ‘struct node’ has no member named ‘upd’
97 | root -> upd(y, z, k);
| ^~~