0_0_39154941_7712.cpp: In function 'int main()':
0_0_39154941_7712.cpp:31:73: error: 'sum' was not declared in this scope; did you mean 'num'?
31 | while(r <= n && s[r] - s[j - 1] <= Max&&sum[r]-sum[j-1]>=L) r++;
| ^~~
| num
0_0_39154941_7712.cpp:31:90: error: 'L' was not declared in this scope
31 | while(r <= n && s[r] - s[j - 1] <= Max&&sum[r]-sum[j-1]>=L) r++;
| ^
|