Mã chấm: 272085


Main.cc: In function ‘int main()’:
Main.cc:3:5: error: ‘string’ was not declared in this scope
     string dap_an,bai_lam;
     ^~~~~~
Main.cc:3:5: note: suggested alternative: ‘struct’
     string dap_an,bai_lam;
     ^~~~~~
     struct
Main.cc:4:5: error: ‘cin’ was not declared in this scope
     cin >> so_cau_trac_nghiem;
     ^~~
Main.cc:4:5: note: suggested alternative: ‘main’
     cin >> so_cau_trac_nghiem;
     ^~~
     main
Main.cc:5:12: error: ‘dap_an’ was not declared in this scope
     cin >> dap_an;
            ^~~~~~
Main.cc:10:13: error: ‘bai_lam’ was not declared in this scope
      cin >> bai_lam;
             ^~~~~~~
Main.cc:20:3: error: ‘cout’ was not declared in this scope
   cout << fixed << setprecision(2) << diem[i] << endl;
   ^~~~
Main.cc:20:11: error: ‘fixed’ was not declared in this scope
   cout << fixed << setprecision(2) << diem[i] << endl;
           ^~~~~
Main.cc:20:20: error: ‘setprecision’ was not declared in this scope
   cout << fixed << setprecision(2) << diem[i] << endl;
                    ^~~~~~~~~~~~
Main.cc:20:50: error: ‘endl’ was not declared in this scope
   cout << fixed << setprecision(2) << diem[i] << endl;
                                                  ^~~~
Main.cc:20:50: note: suggested alternative: ‘enum’
   cout << fixed << setprecision(2) << diem[i] << endl;
                                                  ^~~~
                                                  enum