记录详情

Compile Error

foo.cc: In member function 'void PolyList::Insert(Node*)':
foo.cc:46:21: error: 'p' was not declared in this scope
   46 |                 if( p->data.index==newp->data.index && p!=NULL  )
      |                     ^
foo.cc:56:40: error: type '<type error>' argument given to 'delete', expected pointer
   56 |                                 delete p;
      |                                        ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
语言
C++
递交时间
2022-10-08 19:34:00
评测时间
2022-10-08 19:34:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes