Compile Error
/in/foo.cc: In constructor 'SeqList::SeqList()': /in/foo.cc:9:14: error: 'length' was not declared in this scope SeqList() { length = 0; } ^~~~~~ /in/foo.cc: In member function 'void SeqList::Output()': /in/foo.cc:25:22: error: 'length' was not declared in this scope for (int j = 0; j < length; j++) ^~~~~~ /in/foo.cc: In member function 'void SeqList::Merge(SeqList&, SeqList&)': /in/foo.cc:43:16: error: 'class SeqList' has no member named 'length' while (i < L.length) ^~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- A10-1 有序数组的合并
- 语言
- C++
- 递交时间
- 2019-03-17 20:50:05
- 评测时间
- 2019-03-17 20:50:05
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes