记录详情

Compile Error

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

信息

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