记录详情

Accepted

foo.cc: In member function 'int SeqList::Search(int)':
foo.cc:14:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |                 for(int i=0;i<seq.size();i++)
      |                             ~^~~~~~~~~~~
foo.cc: In member function 'std::vector<int> SeqList::Union(SeqList&) const':
foo.cc:24:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   24 |                 for (int i = 0; i < seq.size(); i++)
      |                                 ~~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:48:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   48 |                 for (int i = 0; i < res.size(); i++)
      |                                 ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 320.0 KiB

信息

递交者
类型
自测
题目
P1015 OO3-2 无序顺序表类的集合运算
语言
C++
递交时间
2024-03-18 21:37:10
评测时间
2024-03-18 21:37:10
评测机
分数
10
总耗时
3ms
峰值内存
320.0 KiB