foo.cc: In function 'int main(int, char**)':
foo.cc:46:35: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
             scanf("%d",&data[j][i]);
                        ~~~~~~~~~~~^
foo.cc:40:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&N);
     ~~~~~^~~~~~~~~
foo.cc:46:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d",&data[j][i]);
             ~~~~~^~~~~~~~~~~~~~~~~~
   
  
    [Hydro](https://hydro.ac)提供评测服务