记录详情

Accepted

/in/foo.cc: In member function 'SortedSeqList SortedSeqList::merge(const SortedSeqList&) const':
/in/foo.cc:32:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while (i < data.size() && j < other.data.size())
                ~~^~~~~~~~~~~~~
/in/foo.cc:32:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while (i < data.size() && j < other.data.size())
                                   ~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:46:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while (i < data.size())
                ~~^~~~~~~~~~~~~
/in/foo.cc:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while (j < other.data.size())
                ~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void SortedSeqList::print() const':
/in/foo.cc:62:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 1; i < data.size(); ++i)
                         ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 380.0 KiB
#2 Accepted 1ms 340.0 KiB
#3 Accepted 1ms 348.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 360.0 KiB

信息

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