0_0_18411205_17362.cpp: In function 'int main()': 0_0_18411205_17362.cpp:17:68: error: expected ')' before 'flag' if ((s2*1.0*x/v1<2.0*x/v2+eps)&&((s2*x+2.0*x)/v1<2.0*x/v2+T+eps) flag=true; ^