sure.cpp:4:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
sure.cpp: In function 'int main()':
sure.cpp:32:44: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat=]
printf("%.4lf",((long double)ans)/10000);
~~~~~~~~~~~~~~~~~~~~~~~~^
sure.cpp:6:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
~~~~~^~~~~~~~~~~
sure.cpp:10:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&x,&y);
~~~~~^~~~~~~~~~~~~~~~