foo.cc: In member function 'polylist polylist::operator*(polylist&)':
foo.cc:124:61: error: 'struct poly' has no member named 'index'
124 | int ansex=it1->data.index*it2->data.index;
| ^~~~~
foo.cc:124:77: error: 'struct poly' has no member named 'index'
124 | int ansex=it1->data.index*it2->data.index;
| ^~~~~
foo.cc:125:51: error: 'it' was not declared in this scope; did you mean 'int'?
125 | int ansbs=it->data.base*it2->data.base;
| ^~
| int
foo.cc:125:75: error: 'struct poly' has no member named 'base'
125 | int ansbs=it->data.base*it2->data.base;
| ^~~~
foo.cc:127:46: error: 'class polylist' has no member named 'insertsort'; did you mean 'inserts'?
127 | newl.insertsort(p);
| ^~~~~~~~~~
| inserts
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务