0_0_37863532_26327.cpp: In function 'void dfs(int, int, int)':
0_0_37863532_26327.cpp:49:35: error: expected ')' before ':' token
dfs(i + 1, (lcm(x, Q[i])?n:n+1:lcm(x, Q[i])), rong + 1);
^
0_0_37863532_26327.cpp:49:60: error: expected ')' before ';' token
dfs(i + 1, (lcm(x, Q[i])?n:n+1:lcm(x, Q[i])), rong + 1);
^
|