foo.cc: In function 'int main()':
foo.cc:35:26: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
   35 |     for(i=1;i<=n;i++)if(i-1&1)Manacher(i);
      |                         ~^~
foo.cc:36:26: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
   36 |     for(i=1;i<=m;i++)if(i-1&1)manacher(i);
      |                         ~^~
foo.cc:39:11: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
   39 |     if(i+j-1&1)
      |        ~~~^~
foo.cc:45:81: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
   45 |         while((Min>=k&&HR[u][j]>=k&&HR[d][j]>=k&&LR[l][i]>=k&&LR[r][i]>=k)||(k+i-1&1))
      |                                                                              ~~~^~
foo.cc:53:22: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
   53 |         if(j&1)Ans+=k-2>>1;
      |                     ~^~
foo.cc:54:20: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
   54 |         else Ans+=k-1>>1;
      |                   ~^~
foo.cc:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:33:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   33 |     for(j=1;j<=m;j++)scanf("%d",&G[i<<1][j<<1]);
      |                      ~~~~~^~~~~~~~~~~~~~~~~~~~~
   
  
    [Hydro](https://hydro.ac)提供评测服务