记录详情

Accepted

/in/foo.cc: In member function 'std::vector<int> SortedSeqList::Merge(const SortedSeqList&) const':
/in/foo.cc:16:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while (i < seq.size() && j < obj.seq.size())
          ~~^~~~~~~~~~~~
/in/foo.cc:16:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while (i < seq.size() && j < obj.seq.size())
                            ~~^~~~~~~~~~~~~~~~
/in/foo.cc:29:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while (i < seq.size())
          ~~^~~~~~~~~~~~
/in/foo.cc:34:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while (j < obj.seq.size())
          ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:58:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < merseq.size(); i++)
                   ~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 400.0 KiB

信息

递交者
类型
自测
题目
P1016 OO3-3 有序顺序表类的合并运算
语言
C++
递交时间
2024-03-15 13:45:39
评测时间
2024-03-16 18:41:41
评测机
分数
10
总耗时
1ms
峰值内存
400.0 KiB