| Problem | collectmushrooms | 
|---|---|
| User | YellowPurpleDragon | 
| Submission Time | 2025-01-05 13:02:48 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 collectmushrooms.cpp:13:42: error: array bound is not an integer constant before ‘]’ token
   13 | ll st[2*(ll)pow(2, (ll)(ceil(log2(a))))-1] = {0};
      |                                          ^
collectmushrooms.cpp: In function ‘void updateUtil(ll)’:
collectmushrooms.cpp:20:4: error: ‘st’ was not declared in this scope; did you mean ‘sd’?
   20 |    st[(pos-1)/2] = max(st[pos], st[pos+1]);
      |    ^~
      |    sd
collectmushrooms.cpp:24:4: error: ‘st’ was not declared in this scope; did you mean ‘sd’?
   24 |    st[(pos-2)/2] = max(st[pos], st[pos-1]);
      |    ^~
      |    sd
collectmushrooms.cpp: In function ‘void update(ll, ll, ll, ll, ll)’:
collectmushrooms.cpp:32:3: error: ‘st’ was not declared in this scope; did you mean ‘sd’?
   32 |   st[pos] = e;
      |   ^~
      |   sd
collectmushrooms.cpp: In function ‘long long int segt(ll, ll, ll, ll, ll)’:
collectmushrooms.cpp:50:10: error: ‘st’ was not declared in this