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
269006 Trần Minh Quang Chuỗi lớn nhất C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 667 2023-11-18 20:52:18

Lỗi biên dịch:

Main.cc: In function ‘int main()’:
Main.cc:30:5: error: ‘xuat’ was not declared in this scope
     xuat(a,n); 
     ^~~~
Main.cc:18:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &n);
     ~~~~~^~~~~~~~~~
Main.cc:24:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
      scanf("%c", &a[i]);
      ~~~~~^~~~~~~~~~~~~