Accepted
/in/foo.cc: In constructor 'SeqList::SeqList(int)': /in/foo.cc:14:11: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] a[i] = NULL; ^~~~ /in/foo.cc: In member function 'SeqList SeqList::Jiao(SeqList&)': /in/foo.cc:32:16: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] temp.a[k] = NULL; ^~~~ /in/foo.cc: In member function 'void SeqList::Output()': /in/foo.cc:52:15: warning: NULL used in arithmetic [-Wpointer-arith] if(a[i] != NULL) ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1015 OO3-2 无序顺序表类的集合运算
- 比赛
- 《面向对象的程序设计方法》的课程测验
- 语言
- C++
- 递交时间
- 2021-06-22 11:32:45
- 评测时间
- 2021-06-22 11:32:45
- 评测机
- 分数
- 100
- 总耗时
- 9ms
- 峰值内存
- 220.0 KiB