foo.cc: In function 'bool check(long int)':
foo.cc:8:35: error: 'returntrue' was not declared in this scope
8 | if (a[i+k-1]-a[i-1]==ans) returntrue;
| ^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:20:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
20 | scanf("%ld %ld",&n,&max);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:24:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
24 | scanf("%ld",&t);
| ~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务