0_0_38530912_1884.cpp: In function 'void solve()':
0_0_38530912_1884.cpp:25:21: error: expected ';' before 'double'
scanf("%lf",&a[i])double x=a[i];
^
0_0_38530912_1884.cpp:33:5: error: 'x' was not declared in this scope
x-=(100-sum);sum=100;
^
0_0_38530912_1884.cpp:47:11: error: 'x' was not declared in this scope
if(sum+x*0.8<200)sum+=x*0.8;
^
0_0_38530912_1884.cpp:56:13: error: 'x' was not declared in this scope
else sum+=x*0.5;
^
|