Main.cc: In function 'int main()': Main.cc:16:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%11d\n",a[n]) ^ Main.cc:17:2: error: expected ';' before '}' token } ^