0_0_20961560_19422.cpp:12:24: error: stray '#' in program
for(int i=1960;i<=n;i+=10)
^
0_0_20961560_19422.cpp:17:10: error: stray '#' in program
sum+=log((++ans)*1.0);
^
0_0_20961560_19422.cpp:17:21: error: stray '#' in program
sum+=log((++ans)*1.0);
^
0_0_20961560_19422.cpp:17:26: error: stray '#' in program
sum+=log((++ans)*1.0);
^
0_0_20961560_19422.cpp: In function 'int main()':
0_0_20961560_19422.cpp:12:27: error: expected ')' before ';' token
for(int i=1960;i<=n;i+=10)
^
0_0_20961560_19422.cpp:12:28: error: expected primary-expression before '=' token
for(int i=1960;i<=n;i+=10)
^
0_0_20961560_19422.cpp:17:11: error: invalid operands of types 'double' and 'int' to binary 'operator&'
sum+=log((++ans)*1.0);
^
0_0_20961560_19422.cpp:17:14: error: expected primary-expression before '=' token
sum+=log((++ans)*1.0);
^
0_0_20961560_19422.cpp:17:22: error: lvalue required as unary '&' operand
sum+=log((++ans)*1.0);
^
0_0_20961560_19422.cpp:17:24: error: expected ')' before ';' token
sum+=log((++ans)*1.0);
^
0_0_20961560_19422.cpp:17:27: error: lvalue required as unary '&' operand
sum+=log((++ans)*1.0);
^
0_0_20961560_19422.cpp:17:33: error: expected ';' before ')' token
sum+=log((++ans)*1.0);
^
|