foo.cc: In function 'int main()':
foo.cc:7:27: error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<<'
7 | if(a>=2000) cout<<a*=0.8<<endl;
| ~~~^~~~~~
foo.cc:9:28: error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<<'
9 | if(a>=1500) cout<<a*=0.85<<endl;
| ~~~~^~~~~~
foo.cc:11:29: error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<<'
11 | if(a>=1000) cout<<a*=0.9<<endl;
| ~~~^~~~~~
foo.cc:13:30: error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<<'
13 | if(a>=500) cout<<a*=0.95<<endl;
| ~~~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务