foo.cc: In function 'int js(int)':
foo.cc:7:15: warning: unused variable 'j' [-Wunused-variable]
int ans=0,j;
^
foo.cc: In function 'int main()':
foo.cc:45:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&L,&n,&m);
~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:47:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务