0_0_22316927_17661.cpp: In function 'int main(int, char**)': 0_0_22316927_17661.cpp:28:13: error: invalid operands of types 'arr [1005]' and 'double' to binary 'operator+' sort(a,a+N,cmp); ^