运行 ID: 975

Main.cc: In function ‘int main()’:
Main.cc:4:42: warning: too many arguments for format [-Wformat-extra-args]
  scanf("%d %d %d %d %d",&a,&b,&c,&d,&e,&f);
                                          ^
Main.cc:5:18: error: lvalue required as left operand of assignment
  (a+b+c+d+e+f)/6=9.6;
                  ^~~
Main.cc:6:16: error: lvalue required as left operand of assignment
  (b+c+d+e+f)/5=9.4;
                ^~~
Main.cc:7:16: error: lvalue required as left operand of assignment
  (a+b+c+d+e)/5=9.8;
                ^~~
Main.cc:8:14: error: lvalue required as left operand of assignment
  9.6*6-9.4*5=a;
              ^
Main.cc:9:14: error: lvalue required as left operand of assignment
  9.6*6-9.8*5=f;
              ^
Main.cc:4:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d %d %d",&a,&b,&c,&d,&e,&f);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~