/in/foo.cc: In function 'int main()': /in/foo.cc:22:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] for(int i=0;i<n;i++) printf("%d\n",aa[i]); ^
By signing up a OPS universal account, you can submit code and join discussions in all online judging services provided by us.
Using your OPS universal account