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 |
271402 |
Trịnh Viết Mỹ |
HUTECH IT OFFICE TOUR |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
599 |
2023-11-21 08:56:22 |
Lỗi biên dịch:
Main.cc: In function ‘void XuatMang(int*, int)’:
Main.cc:19:18: error: expected primary-expression before ‘)’ token
printf ("%d", );
^
Main.cc: In function ‘void NhapSL(int&, int&, int&)’:
Main.cc:8:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &n, &x, &y);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Main.cc: In function ‘void NhapMang(int*, int)’:
Main.cc:13:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i]);
~~~~~~^~~~~~~~~~~~~