0_0_39239783_26001.cpp: In function 'double calc()':
0_0_39239783_26001.cpp:10:44: error: expected ';' before 'for'
10 | for(int i=0;i<=m;i++) C[i]=D[i]=0;a
| ^
| ;
11 | for(int i=0;i<=a[1];i++) C[i]=1.0/fac[i];
| ~~~
0_0_39239783_26001.cpp:11:21: error: 'i' was not declared in this scope
11 | for(int i=0;i<=a[1];i++) C[i]=1.0/fac[i];
| ^
|