Compile Error

foo.cc:7:13: error: stray '\357' in program
 cout<<x*(x+2)<<endl;
             ^
foo.cc:7:14: error: stray '\274' in program
 cout<<x*(x+2)<<endl;
              ^
foo.cc:7:15: error: stray '\211' in program
 cout<<x*(x+2)<<endl;
               ^
foo.cc: In function 'int main()':
foo.cc:7:16: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
 cout<<x*(x+2)<<endl;
          ~~~~~~^~~~~~
foo.cc:7:11: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
 cout<<x*(x+2)<<endl;
          ~^~
foo.cc:7:22: error: expected ')' before ';' token
 cout<<x*(x+2)<<endl;
                      ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1146 星际青蛙(弱弱版)
语言
C++
递交时间
2021-11-15 20:06:58
评测时间
2021-11-15 20:06:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes