记录详情

Compile Error

/in/foo.cc: In member function 'void LinkList::Append(int)':
/in/foo.cc:75:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(Node *p=Head; p->next!=NULL; p=p->next);
   ^~~
/in/foo.cc:76:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   {
   ^
/in/foo.cc:77:11: error: expected initializer before '->' token
    Node *p->next=newp;  Count++;
           ^~

信息

递交者
类型
递交
题目
P1028 OO7-3 链表对象的交集
语言
C++
递交时间
2019-04-10 14:12:58
评测时间
2019-04-10 14:12:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes