/in/foo.cc: In function 'int main()':
/in/foo.cc:23:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int a=1;a<sum[N];a++)
^~~
/in/foo.cc:32:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d\n",ceil(Ans*100));
^~~~~~
/in/foo.cc:32:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d\n",ceil(Ans*100));
^
/in/foo.cc:22:9: warning: unused variable 'p' [-Wunused-variable]
double p,t,Ans=0;
^