| Problem | ccs |
|---|---|
| User | PlayVoltz |
| Submission Time | 2023-08-13 14:00:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ccs.cpp:19:4: error: structured binding declaration cannot have type ‘int’
19 | int[] update(ll index, ll low, ll high, ll indexinp, bool newbool, bool segmenttree[]){
| ^~
ccs.cpp:19:4: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’
ccs.cpp:19:4: error: empty structured binding declaration
ccs.cpp:19:7: error: expected initializer before ‘update’
19 | int[] update(ll index, ll low, ll high, ll indexinp, bool newbool, bool segmenttree[]){
| ^~~~~~
ccs.cpp: In function ‘int main()’:
ccs.cpp:57:18: error: ‘update’ was not declared in this scope
57 | segmenttree = update(0, 0, n-1, a, false);
| ^~~~~~
ccs.cpp:61:18: error: ‘update’ was not declared in this scope
61 | segmenttree = update(0, 0, n-1, a, true);
| ^~~~~~