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 |
267915 |
Võ Sĩ Cường |
Ministop HUTECH |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
527 |
2023-11-18 19:35:20 |
Lỗi biên dịch:
Main.cc: In function ‘int main()’:
Main.cc:17:23: error: expected primary-expression before ‘%’ token
scanf("%d%d%d%d", %+&a. &b, &x, &y);
^
Main.cc:17:29: error: expected unqualified-id before ‘&’ token
scanf("%d%d%d%d", %+&a. &b, &x, &y);
^
Main.cc: In function ‘void nhap(int&, int&, int&, int&)’:
Main.cc:7:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &a, &b, &x, &y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~