记录详情

Accepted

/in/foo.cc: In member function 'void seqlist::unionsolve(seqlist&)':
/in/foo.cc:18:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(i<list.size()&&j<b.list.size())
               ~^~~~~~~~~~~~
/in/foo.cc:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(i<list.size()&&j<b.list.size())
                              ~^~~~~~~~~~~~~~
/in/foo.cc:25:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(i<list.size())    u.push_back(list[i++]);
               ~^~~~~~~~~~~~
/in/foo.cc:26:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(j<b.list.size())  u.push_back(b.list[j++]);
               ~^~~~~~~~~~~~~~
/in/foo.cc: In member function 'int seqlist::deleteself(std::vector<int>&)':
/in/foo.cc:38:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=1;i<a.size();i++)
                     ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 1ms 352.0 KiB
#4 Accepted 1ms 348.0 KiB
#5 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1531 OO3-3 有序顺序表类的合并运算
语言
C++
递交时间
2024-03-18 19:30:49
评测时间
2024-03-18 19:30:49
评测机
分数
100
总耗时
7ms
峰值内存
376.0 KiB