记录详情

Accepted

/in/foo.cc: In member function 'PloyListNode PloyListNode::operator+(PloyListNode)':
/in/foo.cc:17:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i=0;i<node.size();i++)
                ~^~~~~~~~~~~~
/in/foo.cc:19:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i=0;i<p.node.size();i++){
                ~^~~~~~~~~~~~~~
/in/foo.cc:20:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int j=0;j<newv.size();j++){
                 ~^~~~~~~~~~~~
/in/foo.cc: In member function 'int PloyListNode::out(int)':
/in/foo.cc:41:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i=0;i<node.size();i++)
                ~^~~~~~~~~~~~
/in/foo.cc: In function 'std::ostream& operator<<(std::ostream&, PloyListNode)':
/in/foo.cc:50:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<p.node.size();i++)
               ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:22: warning: unused variable 'x' [-Wunused-variable]
  int n,m;int a,b;int x;
                      ^
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 1ms 400.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 344.0 KiB
#5 Accepted 1ms 364.0 KiB

信息

递交者
类型
递交
题目
P1022 OO5-2 一元多项式类PolyList的运算
比赛
2024春 面向对象的程序设计方法(第2场作业赛)
语言
C++
递交时间
2024-04-04 15:40:10
评测时间
2024-04-04 15:40:11
评测机
分数
100
总耗时
8ms
峰值内存
400.0 KiB