Main.cc: In function 'int main()': Main.cc:11:11: error: 'i' cannot be used as a function i(a[i]>m) ^