foo.cc: In function 'bool operator==(Vector, Vector)':
foo.cc:99:22: error: 'pow' was not declared in this scope
99 | if ((pow(objLeftValue.x, 2) + pow(objLeftValue.y, 2) + pow(objLeftValue.z, 2)) ==
| ^~~
foo.cc: In function 'bool operator>(Vector, Vector)':
foo.cc:107:22: error: 'pow' was not declared in this scope
107 | if ((pow(objLeftValue.x, 2) + pow(objLeftValue.y, 2) + pow(objLeftValue.z, 2)) >
| ^~~
foo.cc: In function 'bool operator>=(Vector, Vector)':
foo.cc:115:22: error: 'pow' was not declared in this scope
115 | if ((pow(objLeftValue.x, 2) + pow(objLeftValue.y, 2) + pow(objLeftValue.z, 2)) >=
| ^~~
foo.cc: In function 'bool operator>(Vector, Vector)':
foo.cc:112:9: warning: control reaches end of non-void function [-Wreturn-type]
112 | }
| ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务