记录详情

Compile Error

/in/foo.cc:25:16: error: stray '\357' in program
             i++,j++;
                ^
/in/foo.cc:25:17: error: stray '\274' in program
             i++,j++;
                 ^
/in/foo.cc:25:18: error: stray '\214' in program
             i++,j++;
                  ^
/in/foo.cc:75:1: error: expected '}' at end of input
 }
 ^
/in/foo.cc: In member function 'std::vector<PolyTerm> PolyTerm::mergePolynomials(const std::vector<PolyTerm>&, const std::vector<PolyTerm>&)':
/in/foo.cc:18:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (i < poly1.size() && j < poly2.size())
            ~~^~~~~~~~~~~~~~
/in/foo.cc:18:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (i < poly1.size() && j < poly2.size())
                                ~~^~~~~~~~~~~~~~
/in/foo.cc:25:19: error: expected ';' before 'j'
             i++,j++;
                   ^
/in/foo.cc:41:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (i < poly1.size())
            ~~^~~~~~~~~~~~~~
/in/foo.cc:46:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (j < poly2.size())
            ~~^~~~~~~~~~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:75:1: error: expected unqualified-id at end of input
 }
 ^

信息

递交者
类型
自测
题目
P1022 OO5-2 一元多项式类PolyList的运算
语言
C++
递交时间
2024-04-06 10:31:58
评测时间
2024-04-06 10:31:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes