0_0_27950865_9985.cpp: In function 'int main()':
0_0_27950865_9985.cpp:42:8: error: 'i' was not declared in this scope
if(i!=j)//意思是去掉i这条边//
^
0_0_27950865_9985.cpp:56:14: error: 'i' was not declared in this scope
for(int j=i+1;j<=n+1;j++)//之所以从i+1开始,是因为要去掉i j这两调皮边// {
^
0_0_27950865_9985.cpp:60:12: error: 'i' was not declared in this scope
if(k==i||k==j)
^
0_0_27950865_9985.cpp:60:18: error: 'j' was not declared in this scope
if(k==i||k==j)
^
0_0_27950865_9985.cpp:74:17: error: 'ans' was not declared in this scope
printf("%d\n",ans);
^
0_0_27950865_9985.cpp: At global scope:
0_0_27950865_9985.cpp:76:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_27950865_9985.cpp:77:1: error: expected declaration before '}' token
}
^
|