记录详情

Wrong Answer

/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 352.0 KiB
#2 Accepted 1ms 348.0 KiB
#3 Accepted 1ms 340.0 KiB
#4 Wrong Answer 1ms 364.0 KiB
#5 Accepted 1ms 344.0 KiB

信息

递交者
类型
递交
题目
P1016 OO3-3 有序顺序表类的合并运算
比赛
2024春 面向对象的程序设计方法(第1场作业赛)
语言
C++
递交时间
2024-03-15 13:46:19
评测时间
2024-03-16 18:41:42
评测机
分数
80
总耗时
7ms
峰值内存
364.0 KiB