Accepted

/in/foo.cc: In function 'void Add(std::vector<Poly>&, std::vector<Poly>&)':
/in/foo.cc:40:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0; i<L2.size(); i++)
               ~^~~~~~~~~~
/in/foo.cc:38:6: warning: unused variable 'n1' [-Wunused-variable]
  int n1=L1.size();
      ^~
/in/foo.cc:39:6: warning: unused variable 'n2' [-Wunused-variable]
  int n2=L2.size();
      ^~
/in/foo.cc: In function 'void Output(std::vector<Poly>&)':
/in/foo.cc:46:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0; i<L.size()&&L[i].coef!=0; i++)
               ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1125 OO5-2 一元多项式类PolyList的运算
语言
C++
递交时间
2021-06-06 18:50:39
评测时间
2021-06-06 18:50:39
评测机
分数
100
总耗时
7ms
峰值内存
224.0 KiB