Mã chấm: 269688


Main.cc:2:7: error: expected nested-name-specifier before ‘nazmespace’
 using nazmespace std;
       ^~~~~~~~~~
Main.cc: In function ‘int main()’:
Main.cc:9:7: error: ‘cin’ was not declared in this scope
     { cin >> n; }
       ^~~
Main.cc:9:7: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/7/iostream:60:18: note:   ‘std::cin’
   extern istream cin;  /// Linked to standard input
                  ^~~
Main.cc:12:25: error: expected primary-expression before ‘,’ token
     { pi += 4.0 * pow(1-, i) / (2 * i + 1);}
                         ^
Main.cc:12:19: error: ‘pow’ was not declared in this scope
     { pi += 4.0 * pow(1-, i) / (2 * i + 1);}
                   ^~~
Main.cc:13:5: error: ‘cout’ was not declared in this scope
     cout << pi << endl;
     ^~~~
Main.cc:13:5: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/7/iostream:61:18: note:   ‘std::cout’
   extern ostream cout;  /// Linked to standard output
                  ^~~~
Main.cc:13:19: error: ‘endl’ was not declared in this scope
     cout << pi << endl;
                   ^~~~
Main.cc:13:19: note: suggested alternative:
In file included from /usr/include/c++/7/iostream:39:0,
                 from Main.cc:1:
/usr/include/c++/7/ostream:590:5: note:   ‘std::endl’
     endl(basic_ostream<_CharT, _Traits>& __os)
     ^~~~