记录详情

Accepted

foo.cc: In member function 'void seqlist::unionsolve(seqlist&)':
foo.cc:18:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   18 |         while(i<list.size()&&j<b.list.size())
      |               ~^~~~~~~~~~~~
foo.cc:18:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   18 |         while(i<list.size()&&j<b.list.size())
      |                              ~^~~~~~~~~~~~~~
foo.cc:25:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   25 |         while(i<list.size())    u.push_back(list[i++]);
      |               ~^~~~~~~~~~~~
foo.cc:26:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |         while(j<b.list.size())  u.push_back(b.list[j++]);
      |               ~^~~~~~~~~~~~~~
foo.cc: In member function 'int seqlist::deleteself(std::vector<int>&)':
foo.cc:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   38 |         for(int i=1;i<a.size();i++)
      |                     ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB

信息

递交者
类型
自测
题目
P1016 OO3-3 有序顺序表类的合并运算
语言
C++
递交时间
2024-03-18 19:31:02
评测时间
2024-03-18 19:31:02
评测机
分数
10
总耗时
2ms
峰值内存
536.0 KiB