0_0_39190154_25260.cpp: In function 'int main()':
0_0_39190154_25260.cpp:26:35: error: 'l' was not declared in this scope
26 | ans=max(ans,i-l-1);
| ^
0_0_39190154_25260.cpp:37:25: error: 'l' was not declared in this scope
37 | l=cnt-1;
| ^
0_0_39190154_25260.cpp:43:32: error: 'l' was not declared in this scope
43 | if(a[i]==a[l])l--;
| ^
0_0_39190154_25260.cpp:55:32: error: 'l' was not declared in this scope
55 | if(a[i]==a[l])l--;
| ^
0_0_39190154_25260.cpp:64:33: error: 'l' was not declared in this scope
64 | if(mat==1)ans=max(ans,n-l);
| ^
|