记录详情

Compile Error

/in/foo.cc:53:27: error: expected '}' at end of input
             prev = p, p = p
                           ^
/in/foo.cc: In member function 'void PolyList::Insert(PolyNode*)':
/in/foo.cc:53:27: error: expected ';' at end of input
/in/foo.cc:52:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
         while (p != NULL && p->index > newp->index)
         ^~~~~
/in/foo.cc:53:0: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
             prev = p, p = p
 
/in/foo.cc:53:27: error: expected '}' at end of input
             prev = p, p = p
                           ^
/in/foo.cc: At global scope:
/in/foo.cc:53:27: error: expected unqualified-id at end of input

信息

递交者
类型
自测
题目
A10-1 有序数组的合并
语言
C++
递交时间
2019-03-17 21:15:52
评测时间
2019-03-17 21:15:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes