0_0_37191566_21526.cpp: In function 'int main()':
0_0_37191566_21526.cpp:11:29: error: invalid types 'double [10000][10000][double]' for array subscript
scanf("%lf",&a[i][j]);
^
0_0_37191566_21526.cpp:16:22: error: invalid types 'double [10000][10000][double]' for array subscript
ave1+=a[i][j];
^
0_0_37191566_21526.cpp:18:14: error: invalid types 'double [10000][double]' for array subscript
arr[i]=ave1/m;//人的平均成绩
^
0_0_37191566_21526.cpp:23:22: error: invalid types 'double [10000][10000][double]' for array subscript
ave2+=a[i][j];
^
0_0_37191566_21526.cpp:25:14: error: invalid types 'double [10000][double]' for array subscript
brr[j]=ave2/n;//课程的平均成绩
^
0_0_37191566_21526.cpp:31:19: error: invalid types 'double [10000][10000][double]' for array subscript
if(a[i][j]>=brr[j]) count++;
^
0_0_37191566_21526.cpp:31:30: error: invalid types 'double [10000][double]' for array subscript
if(a[i][j]>=brr[j]) count++;
^
0_0_37191566_21526.cpp:35:40: error: invalid types 'double [10000][double]' for array subscript
if(i!=n-1) printf("%.2f ",arr[i]);
^
0_0_37191566_21526.cpp:36:35: error: invalid types 'double [10000][double]' for array subscript
else printf("%.2f\n",arr[i]);
^
0_0_37191566_21526.cpp:39:40: error: invalid types 'double [10000][double]' for array subscript
if(j!=m-1) printf("%.2f ",brr[j]);
^
0_0_37191566_21526.cpp:40:35: error: invalid types 'double [10000][double]' for array subscript
else printf("%.2f\n",brr[j]);
^
|