0_0_37014886_31625.cpp: In function 'int main()':
0_0_37014886_31625.cpp:12:25: error: invalid types 'double [65][20][double]' for array subscript
scanf("%lf",&f[i][j]);
^
0_0_37014886_31625.cpp:13:20: error: invalid types 'double [65][20][double]' for array subscript
sum=sum+f[i][j];
^
0_0_37014886_31625.cpp:16:9: error: invalid types 'double [65][double]' for array subscript
a[i]=sum/m;
^
0_0_37014886_31625.cpp:21:16: error: invalid types 'double [65][20][double]' for array subscript
sum+=f[j][i];
^
0_0_37014886_31625.cpp:23:7: error: invalid types 'double [20][double]' for array subscript
b[i]=sum/n;
^
0_0_37014886_31625.cpp:28:14: error: invalid types 'double [65][20][double]' for array subscript
if(f[j][i]>b[i]) c++;
^
0_0_37014886_31625.cpp:28:22: error: invalid types 'double [20][double]' for array subscript
if(f[j][i]>b[i]) c++;
^
0_0_37014886_31625.cpp:35:34: error: invalid types 'double [65][double]' for array subscript
if(i==n-1) printf("%.2f\n",a[i]);
^
0_0_37014886_31625.cpp:36:33: error: invalid types 'double [65][double]' for array subscript
else printf("%.2f ",a[i]);
^
0_0_37014886_31625.cpp:39:34: error: invalid types 'double [20][double]' for array subscript
if(i==m-1) printf("%.2f\n",b[i]);
^
0_0_37014886_31625.cpp:40:33: error: invalid types 'double [20][double]' for array subscript
else printf("%.2f ",b[i]);
^
|