0_0_21754669_14274.cpp:19:8: error: expected constructor, destructor, or type conversion before '(' token
intgetf(iny x){return x==f[x]?x:f[x]=getf(f[x]);}
^
0_0_21754669_14274.cpp: In function 'int main()':
0_0_21754669_14274.cpp:32:18: error: 'getf' was not declared in this scope
int fx=getf(x),fy=getf(y);
^
0_0_21754669_14274.cpp:33:11: error: 'fy' was not declared in this scope
f[fx]=fy;
^
|