0_0_16289028_3772.cpp: In function 'int main()': 0_0_16289028_3772.cpp:35:12: error: invalid operands of types 'num [1500]' and 'double' to binary 'operator+' sort(a,a+n,cmp); ^