运行 ID: 141509

Main.cc:10:25: error: narrowing conversion of ‘1.0000000000000001e-9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
 int Stack[100001]= {1e-9};
                         ^
Main.cc: In function ‘int main()’:
Main.cc:19:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   freopen("Treasure_map.in","r",stdin);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Main.cc:20:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   freopen("Treasure_map.out","w",stdout);
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Main.cc:22:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d", &n, &m, &p);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
Main.cc:25:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d", &s[i].x, &s[i].y);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~