0_0_15881452_28396.cpp: In function 'int main()':
0_0_15881452_28396.cpp:14:20: error: invalid types 'double [100][double]' for array subscript
scanf("%lf",&a[i]);
^
0_0_15881452_28396.cpp:15:10: error: invalid types 'double [100][double]' for array subscript
s+=a[i];
^
0_0_15881452_28396.cpp:16:11: error: invalid types 'double [100][double]' for array subscript
if(a[i]>x)
^
0_0_15881452_28396.cpp:17:11: error: invalid types 'double [100][double]' for array subscript
x=a[i];
^
0_0_15881452_28396.cpp:18:13: error: invalid types 'double [100][double]' for array subscript
if(y>a[i])
^
0_0_15881452_28396.cpp:19:11: error: invalid types 'double [100][double]' for array subscript
y=a[i];//一个循环就够了。
^
0_0_15881452_28396.cpp:24:1: error: expected primary-expression before ']' token
]
^
0_0_15881452_28396.cpp:24:1: error: expected '}' at end of input
0_0_15881452_28396.cpp:24:1: error: expected '}' at end of input
|