0_0_16394592_12972.cpp: In function 'int main()':
0_0_16394592_12972.cpp:49:19: error: incompatible types in assignment of 'int' to 'double [55]'
p = 1;
^
0_0_16394592_12972.cpp:52:23: error: invalid operands of types 'double [55]' and 'double' to binary 'operator*'
p *= p[pos[j]];
^
0_0_16394592_12972.cpp:52:23: error: in evaluation of 'operator*=(double [55], double)'
0_0_16394592_12972.cpp:54:23: error: invalid operands of types 'double [55]' and 'double' to binary 'operator*'
p *= (1 - p[pos[j]]);
^
0_0_16394592_12972.cpp:54:23: error: in evaluation of 'operator*=(double [55], double)'
0_0_16394592_12972.cpp:69:17: error: 'g' was not declared in this scope
g = j;
^
0_0_16394592_12972.cpp:73:9: error: 'g' was not declared in this scope
g = 1;
^
|