Judge Information
./test.cpp: In function 'int main()':
./test.cpp:5:33: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'long double*' [-Wformat=]
scanf("%lf %lf %lf",&a,&b,&c);
^
./test.cpp:5:33: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'long double*' [-Wformat=]
./test.cpp:5:33: warning: format '%lf' expects argument of type 'double*', but argument 4 has type 'long double*' [-Wformat=]
./test.cpp:6:24: error: expression cannot be used as a function
printf("%.4f\n"(a+c)*b/2);
^
./test.cpp:5:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf",&a,&b,&c);
^