运行 ID: 141270

Main.cc:5: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:10:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&n);
   ~~~~~^~~~~~~~~
Main.cc:13:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&temp);
     ~~~~~^~~~~~~~~~~~