记录详情

Compile Error

foo.cc: In member function 'int Polynome::Execute(int)':
foo.cc:82:69: error: 'pow' was not declared in this scope
   82 |                         nResult = nResult + this->polyHead[i].coe * pow(nBase, this->polyHead[i].exp);
      |                                                                     ^~~
foo.cc: In member function 'bool Polynome::DeleteByPosition(int)':
foo.cc:140:45: warning: control reaches end of non-void function [-Wreturn-type]
  140 |                         this->polyHead->exp = 0;
      |                         ~~~~~~~~~~~~~~~~~~~~^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1022 OO5-2 一元多项式类PolyList的运算
语言
C++
递交时间
2023-10-09 22:33:13
评测时间
2023-10-09 22:33:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes