library.cpp: In function 'void Solve(int)':
library.cpp:19:16: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
19 | memset(l,-1,mx);
| ^
library.cpp:20:16: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
20 | memset(r,-1,mx);
| ^
library.cpp:35:8: warning: unused variable 'left' [-Wunused-variable]
35 | int left=-1;int right=-1;
| ^~~~
library.cpp:35:20: warning: unused variable 'right' [-Wunused-variable]
35 | int left=-1;int right=-1;
| ^~~~~