Mã chấm: 269514
Main.cc: In function ‘int main()’: Main.cc:10:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%d",n); ^ Main.cc:12:39: error: expected ‘)’ before ‘;’ token pi= 4*(pi+((pow(-1,i)/((2*i)+1))); ^ Main.cc:10:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",n); ~~~~~^~~~~~~~