foo.cc: In function 'int main()':
foo.cc:29:14: error: 'INT_MAX' was not declared in this scope
f[i]=INT_MAX-1;
^~~~~~~
foo.cc:29:14: note: suggested alternative: 'INT8_MAX'
f[i]=INT_MAX-1;
^~~~~~~
INT8_MAX
foo.cc:36:14: error: 'INT_MAX' was not declared in this scope
int minn=INT_MAX-1;
^~~~~~~
foo.cc:36:14: note: suggested alternative: 'INT8_MAX'
int minn=INT_MAX-1;
^~~~~~~
INT8_MAX
foo.cc:10:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&qaq),cont+=((qaq%s)==0);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务