Mã chấm: 268768


Main.cc: In function ‘int main()’:
Main.cc:7:13: error: expected initializer before ‘<=’ token
     double n<=5000;
             ^~
Main.cc:8:17: error: ‘c’ was not declared in this scope
   scanf("%ld", &c);
                 ^
Main.cc:13:13: error: ‘n’ was not declared in this scope
  while(tg > n)
             ^
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=]