记录详情

Accepted

foo.cc: In member function 'int PolyList::calculate()':
foo.cc:56:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<PolyListNode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   56 |   for (int i = 0 ; i < pl.size(); i++)
      |                    ~~^~~~~~~~~~~
foo.cc: In function 'void sumPoly(const PolyList&, const PolyList&)':
foo.cc:63:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<PolyListNode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   63 |   for (int i = 0; i < pl1.pl.size(); i++)
      |                   ~~^~~~~~~~~~~~~~~
foo.cc:65:21: 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 < pl2.pl.size(); i++)
      |                   ~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1319 OO5-2 一元多项式类PolyList的运算
语言
C++
递交时间
2022-06-13 17:23:55
评测时间
2022-06-13 17:23:55
评测机
分数
100
总耗时
13ms
峰值内存
384.0 KiB