foo.cc:18:0: warning: "LONG_LONG_MIN" redefined
#define LONG_LONG_MIN -9223372036854775808ll
In file included from foo.cc:5:0:
/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h:152:0: note: this is the location of the previous definition
# define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL)
foo.cc:19:0: warning: "LONG_LONG_MAX" redefined
#define LONG_LONG_MAX 9223372036854775807ll
In file included from foo.cc:5:0:
/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h:154:0: note: this is the location of the previous definition
# define LONG_LONG_MAX __LONG_LONG_MAX__
foo.cc: In function 'int main()':
foo.cc:99:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a.size(); ++i){
~~^~~~~~~~~~
foo.cc:68:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&q); len = n;
~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:70:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&g[i].x,&g[i].y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务