记录详情

Accepted

/in/foo.cc: In member function 'int SeqList::Search(int)':
/in/foo.cc:14:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < seq.size(); i++) {
                         ~~^~~~~~~~~~~~
/in/foo.cc: In member function 'void SeqList::SearchRemove(int)':
/in/foo.cc:24:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = k; i < seq.size() - 1; i++) {
                             ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'std::vector<int> SeqList::Union(SeqList&)':
/in/foo.cc:36:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < obj.seq.size(); i++) {
                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < res.size(); i++) {
                     ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB

信息

递交者
类型
自测
题目
P1014 OO3-1 无序顺序表类的基本运算
语言
C++
递交时间
2024-03-18 23:16:28
评测时间
2024-03-18 23:16:28
评测机
分数
10
总耗时
1ms
峰值内存
356.0 KiB