0_0_25884613_4996.cpp: In function 'void dfs(int)':
0_0_25884613_4996.cpp:151:12: error: expected primary-expression before 'if'
if(if(vis[v])) continue;
^
0_0_25884613_4996.cpp:151:12: error: expected ')' before 'if'
0_0_25884613_4996.cpp:152:17: error: too many arguments to function 'void dfs(int)'
dfs(v, u);
^
0_0_25884613_4996.cpp:136:6: note: declared here
void dfs(int u) {
^
0_0_25884613_4996.cpp: In function 'void solve()':
0_0_25884613_4996.cpp:204:71: error: too many arguments to function 'void dfs(int)'
for(int i = 1;i <= num;i++) if(!vis[p[i]]) { ++id; dfs(p[i], 0); }
^
0_0_25884613_4996.cpp:136:6: note: declared here
void dfs(int u) {
^
|