0_0_38752564_21699.cpp:6:1: error: expected initializer before 'struct'
6 | struct node{
| ^~~~~~
0_0_38752564_21699.cpp:27:2: error: 'fl' does not name a type
27 | }fl[N],fr[N];
| ^~
0_0_38752564_21699.cpp: In function 'int main()':
0_0_38752564_21699.cpp:40:13: error: 's' was not declared in this scope
40 | s[i] = s[i - 1] + a[i];
| ^
0_0_38752564_21699.cpp:50:33: error: 's' was not declared in this scope
50 | while (p < r && s[p] - s[l - 1] < s[r] - s[p])
| ^
0_0_38752564_21699.cpp:57:17: error: 'fl' was not declared in this scope; did you mean 'f'?
57 | fl[i].clear();
| ^~
| f
0_0_38752564_21699.cpp:58:17: error: 'fr' was not declared in this scope; did you mean 'f'?
58 | fr[i].clear();
| ^~
| f
0_0_38752564_21699.cpp:65:31: error: 'fl' was not declared in this scope; did you mean 'l'?
65 | while(fl[l].sz&&fl[l].front()<md)fl[l].pop();
| ^~
| l
0_0_38752564_21699.cpp:66:31: error: 'fr' was not declared in this scope; did you mean 'r'?
66 | while(fr[r].sz&&fr[r].front()>md)fr[r].pop();
| ^~
| r
0_0_38752564_21699.cpp:68:28: error: 'fl' was not declared in this scope; did you mean 'l'?
68 | if(fl[l].sz)f[l][r]=min(f[l][r],f[l][fl[l].front()]);
| ^~
| l
0_0_38752564_21699.cpp:69:28: error: 'fr' was not declared in this scope; did you mean 'r'?
69 | if(fr[r].sz)f[l][r]=min(f[l][r],f[fr[r].front()][r]);
| ^~
| r
0_0_38752564_21699.cpp:71:31: error: 'fl' was not declared in this scope; did you mean 'l'?
71 | while(fl[l].sz&&f[l][fl[l].back()]>=f[l][r])fl[l].pop_back();
| ^~
| l
0_0_38752564_21699.cpp:72:25: error: 'fl' was not declared in this scope; did you mean 'l'?
72 | fl[l].push(r);
| ^~
| l
0_0_38752564_21699.cpp:73:31: error: 'fr' was not declared in this scope; did you mean 'r'?
73 | while(fr[r].sz&&f[fr[r].back()][r]>=f[l][r])fr[r].pop_back();
| ^~
| r
0_0_38752564_21699.cpp:74:25: error: 'fr' was not declared in this scope; did you mean 'r'?
74 | fr[r].push(l);
| ^~
| r
|