0_0_30149519_23944.cpp:30:1: error: missing terminating ' character
int find'(int x)
^
0_0_30149519_23944.cpp:30:5: error: 'int find' redeclared as different kind of symbol
int find'(int x)
^
0_0_30149519_23944.cpp:22:5: note: previous declaration 'int find(int)'
int find(int x)
^
0_0_30149519_23944.cpp:32:2: error: expected primary-expression before 'int'
int i,r,t;
^
0_0_30149519_23944.cpp:32:2: error: expected '}' before 'int'
0_0_30149519_23944.cpp:33:2: error: 'i' does not name a type
i=r=x;
^
0_0_30149519_23944.cpp:35:2: error: expected unqualified-id before 'while'
while(f[r]!=r)//找到根
^
0_0_30149519_23944.cpp:38:2: error: expected unqualified-id before 'while'
while(i!=r)//上面节点改到根
^
0_0_30149519_23944.cpp:45:2: error: expected unqualified-id before 'return'
return r;
^
0_0_30149519_23944.cpp:46:1: error: expected declaration before '}' token
}
^
|