记录详情

Accepted

foo.cc: In function ‘std::vector<PolyTerm> mergePolynomials(const std::vector<PolyTerm>&, const std::vector<PolyTerm>&)’:
foo.cc:21:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyTerm>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   21 |     while (i < poly1.size() && j < poly2.size())
      |            ~~^~~~~~~~~~~~~~
foo.cc:21:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<PolyTerm>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   21 |     while (i < poly1.size() && j < poly2.size())
      |                                ~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB

信息

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