Main.cc: In function ‘int main()’: Main.cc:11:22: error: ‘min’ cannot be used as a function min=min(min,x); ^ Main.cc:12:22: error: ‘max’ cannot be used as a function max=max(max,x); ^