记录详情

Accepted

foo.cc: In member function ‘polylist polylist::operator+(polylist&)’:
foo.cc:30:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<polylistnode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   30 |                 while (i < v1.size() && j < v2.size())
      |                        ~~^~~~~~~~~~~
foo.cc:30:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<polylistnode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   30 |                 while (i < v1.size() && j < v2.size())
      |                                         ~~^~~~~~~~~~~
foo.cc:42:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<polylistnode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   42 |                 while (i < v1.size())
      |                        ~~^~~~~~~~~~~
foo.cc:44:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<polylistnode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   44 |                 while (j < v2.size())
      |                        ~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 764.0 KiB

信息

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