运行 ID: 993

Main.cc: In function ‘int main()’:
Main.cc:8:3: error: expected ‘,’ or ‘;’ before ‘printf’
   printf("%.1lf",r);
   ^~~~~~
Main.cc:7:10: warning: unused variable ‘r’ [-Wunused-variable]
   double r=(total-d-g)/4
          ^