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 356.0 KiB

信息

递交者
类型
自测
题目
P1137 OO8-2 一元多项式链表类的运算
语言
C++
递交时间
2024-04-25 16:13:16
评测时间
2024-04-25 16:13:16
评测机
分数
10
总耗时
1ms
峰值内存
356.0 KiB