0_0_15405038_3515.cpp: In function 'int main()':
0_0_15405038_3515.cpp:67:4: error: expected ';' before '}' token
}
^
0_0_15405038_3515.cpp:71:5: error: invalid operands of types 'double [100000]' and 'double' to binary 'operator*'
x*=-1.0;
^
0_0_15405038_3515.cpp:71:5: error: in evaluation of 'operator*=(double [100000], double)'
0_0_15405038_3515.cpp:72:5: error: invalid operands of types 'double [100000]' and 'double' to binary 'operator+'
x+=dis[i];
^
0_0_15405038_3515.cpp:72:5: error: in evaluation of 'operator+=(double [100000], double)'
0_0_15405038_3515.cpp:16:17: error: expected ')' before ';' token
#define eps 1e-6;
^
0_0_15405038_3515.cpp:84:11: note: in expansion of macro 'eps'
if(xx>-eps&&l-xx<eps&&xx<r+eps)
^
0_0_15405038_3515.cpp:84:18: error: invalid operands of types 'void*' and 'double' to binary 'operator-'
if(xx>-eps&&l-xx<eps&&xx<r+eps)
^
0_0_15405038_3515.cpp:16:13: error: invalid operands of types 'void*' and 'double' to binary 'operator<'
#define eps 1e-6;
^
0_0_15405038_3515.cpp:84:31: note: in expansion of macro 'eps'
if(xx>-eps&&l-xx<eps&&xx<r+eps)
^
0_0_15405038_3515.cpp:84:34: error: expected primary-expression before ')' token
if(xx>-eps&&l-xx<eps&&xx<r+eps)
^
0_0_15405038_3515.cpp:92:5: error: expected '}' before 'else'
}else
^
0_0_15405038_3515.cpp:94:5: error: 'else' without a previous 'if'
} else
^
0_0_15405038_3515.cpp:16:17: error: expected ')' before ';' token
#define eps 1e-6;
^
0_0_15405038_3515.cpp:102:16: note: in expansion of macro 'eps'
if(fabs(xx)>eps) printf("IMPOSSIBLE\n");
^
0_0_15405038_3515.cpp:102:19: error: expected primary-expression before ')' token
if(fabs(xx)>eps) printf("IMPOSSIBLE\n");
^
0_0_15405038_3515.cpp:103:4: error: 'else' without a previous 'if'
else
^
0_0_15405038_3515.cpp:104:7: error: 'l' was not declared in this scope
if(l>r) printf("IMPOSSIBLE\n");
^
0_0_15405038_3515.cpp:104:9: error: 'r' was not declared in this scope
if(l>r) printf("IMPOSSIBLE\n");
^
0_0_15405038_3515.cpp:84:16: error: label 'l' used but not defined
if(xx>-eps&&l-xx<eps&&xx<r+eps)
^
0_0_15405038_3515.cpp:84:26: error: label 'xx' used but not defined
if(xx>-eps&&l-xx<eps&&xx<r+eps)
^
0_0_15405038_3515.cpp: At global scope:
0_0_15405038_3515.cpp:121:1: error: expected declaration before '}' token
}
^
|