bool Judge(LNode* L){
LNode* fast=L;
LNode* slow=L;
while( fast!=null && fast->next!=null ){
fast=L->next->next;
slow=L->next;
if( fast == slow )
return true;
}
return false;
}
bool Judge(LNode* L){
LNode* fast=L;
LNode* slow=L;
while( fast!=null && fast->next!=null ){
fast=L->next->next;
slow=L->next;
if( fast == slow )
return true;
}
return false;
}