记录详情

Compile Error

/in/foo.cc: In member function 'void PolyLinkList::print()':
/in/foo.cc:91:9: error: 'vector' was not declared in this scope
         vector<pair<int, int>> terms;
         ^~~~~~
/in/foo.cc:91:29: error: expected primary-expression before '>' token
         vector<pair<int, int>> terms;
                             ^~
/in/foo.cc:91:32: error: 'terms' was not declared in this scope
         vector<pair<int, int>> terms;
                                ^~~~~
/in/foo.cc:100:33: error: unable to deduce 'auto&&' from 'terms'
         for (const auto& term : terms) {
                                 ^~~~~

信息

递交者
类型
自测
题目
P1037 OO8-2 一元多项式链表类的运算
语言
C++
递交时间
2024-05-05 10:28:56
评测时间
2024-05-05 10:28:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes