foo.cc: In function 'int find(int, int)':
foo.cc:56:17: warning: unused variable 'ans' [-Wunused-variable]
int las=0,w,ans=0;
^~~
foo.cc: In function 'int main()':
foo.cc:25:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&l,&r);
~~~~~^~~~~~~~~~~~~~
foo.cc: In function 'int idx(char)':
foo.cc:34:14: warning: 'v' is used uninitialized in this function [-Wuninitialized]
if(v>='a'&&v<='z')
~~~~~~^~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务