0_0_37357946_27094.cpp: In function 'int main()': 0_0_37357946_27094.cpp:23:19: error: invalid types 'int [10010][double]' for array subscript ans+=fabs(a[mid]-a[i]); ^