Mã chấm Tài khoản Bài tập Ngôn ngữ lập trình Trạng thái Thời gian Bộ nhớ Kích thước Thời gian nộp
597022 Lê Dương Định Xuân Pháp sư C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 1267 2024-10-31 21:29:30

Lỗi biên dịch:

Main.cc: In function ‘int main()’:
Main.cc:22:5: error: ‘FileIO’ was not declared in this scope; did you mean ‘fileno’?
   22 |     FileIO();
      |     ^~~~~~
      |     fileno
Main.cc:33:28: error: variable ‘std::stringstream ss’ has initializer but incomplete type
   33 |         stringstream ss(str);
      |                            ^
Main.cc:43:32: error: variable ‘std::stringstream ss’ has initializer but incomplete type
   43 |             stringstream ss(str);
      |                                ^
Main.cc:54:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   54 |     for (int i = 0; i < pi.size(); i++){
      |                     ~~^~~~~~~~~~~