记录详情

Wrong Answer

/in/foo.cc: In member function 'std::vector<int> SortedSeqList::Merge(const SortedSeqList&) const':
/in/foo.cc:17:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while (i < seq.size() && j < obj.seq.size())
          ~~^~~~~~~~~~~~
/in/foo.cc:17:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while (i < seq.size() && j < obj.seq.size())
                            ~~^~~~~~~~~~~~~~~~
/in/foo.cc:30:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while (i < seq.size())
          ~~^~~~~~~~~~~~
/in/foo.cc:35: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:59:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < merged.size(); i++)
                   ~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 356.0 KiB

信息

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