记录详情

Accepted

foo.cc: In member function ‘void PolyList::Select()’:
foo.cc:23:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyListNode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   23 |                 for(int i=0;i<x.size();i++)
      |                             ~^~~~~~~~~
foo.cc:26:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyListNode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   26 |                         for(int j=i+1;j<x.size();j++)
      |                                       ~^~~~~~~~~
foo.cc: In member function ‘void PolyList::Output()’:
foo.cc:65:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyListNode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   65 |                 for(int i=0;i<x.size();i++)
      |                             ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 496.0 KiB

信息

递交者
类型
自测
题目
P1022 OO5-2 一元多项式类PolyList的运算
语言
C++
递交时间
2024-04-04 20:56:49
评测时间
2024-04-04 20:56:49
评测机
分数
10
总耗时
3ms
峰值内存
496.0 KiB