In function 'int main()':
12:23: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'long double*' [-Wformat]
17:34: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat]
19:32: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat]