Runtime Error
/in/foo.c: In function 'Judge':
/in/foo.c:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(P=Graph->G[x].FirstEdge;P!=NULL;P=P->Next)
^~~
/in/foo.c:25:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
check[x]=1;
^~~~~