Mã chấm: 268810
Main.cc: In function ‘int main()’: Main.cc:7:13: error: expected initializer before ‘<=’ token double n<=5000; ^~ Main.cc:8:17: error: ‘n’ was not declared in this scope scanf("%ld", &n); ^ Main.cc:8:17: note: suggested alternative: ‘yn’ scanf("%ld", &n); ^ yn Main.cc:21:21: warning: '0' flag ignored with precision and ‘%d’ gnu_printf format [-Wformat=] printf("%0.5ld", PI); ^ Main.cc:21:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘double’ [-Wformat=]