记录详情

Accepted

/in/foo.cc: In member function 'void PolyLinkNode::Add(PolyLinkNode)':
/in/foo.cc:40:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (j = 0; j < v.size(); j++)
                         ~~^~~~~~~~~~
/in/foo.cc:48:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (j >= v.size())
                 ~~^~~~~~~~~~~
/in/foo.cc:51:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < v.size() - 1; i++)
                         ~~^~~~~~~~~~~~~~
/in/foo.cc:53:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = 0; j < v.size() - 1 - i; j++)
                             ~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:59:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < v.size(); i++)
                         ~~^~~~~~~~~~
/in/foo.cc: In member function 'void PolyLinkNode::Mul(PolyLinkNode)':
/in/foo.cc:70:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < v.size(); i++)
                         ~~^~~~~~~~~~
/in/foo.cc:72:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = 0; j < P.v.size(); j++)
                             ~~^~~~~~~~~~~~
/in/foo.cc:76:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for (k = 0; k < tmp.size(); k++)
                             ~~^~~~~~~~~~~~
/in/foo.cc:84:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (k >= tmp.size())
                     ~~^~~~~~~~~~~~~
/in/foo.cc:88:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < tmp.size() - 1; i++)
                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc:90:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = 0; j < tmp.size() - 1 - i; j++)
                             ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:96:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < tmp.size(); i++)
                         ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 1ms 400.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1037 OO8-2 一元多项式链表类的运算
比赛
2024春 面向对象的程序设计方法(第3场作业赛)
语言
C++
递交时间
2024-04-25 16:13:37
评测时间
2024-04-25 16:13:37
评测机
分数
100
总耗时
7ms
峰值内存
400.0 KiB