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 |
268972 |
Võ Anh Kiệt |
Ministop HUTECH |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
616 |
2023-11-18 20:50:12 |
Lỗi biên dịch:
Main.cc:28:5: error: expected unqualified-id before ‘return’
return 0;
^~~~~~
Main.cc:29:1: error: expected declaration before ‘}’ token
}
^
Main.cc: In function ‘int main()’:
Main.cc:11:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A);
~~~~~^~~~~~~~~~
Main.cc:13:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &B);
~~~~~^~~~~~~~~~
Main.cc:15:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &X);
~~~~~^~~~~~~~~~
Main.cc:17:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &Y);
~~~~~^~~~~~~~~~