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
268285 Võ Trần Đăng Khoa Ministop HUTECH C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 265 2023-11-18 20:03:10

Lỗi biên dịch:

Main.cc: In function ‘int main()’:
Main.cc:8:5: error: ‘nt’ was not declared in this scope
     nt A, B, X, Y;
     ^~
Main.cc:8:5: note: suggested alternative: ‘int’
     nt A, B, X, Y;
     ^~
     int
Main.cc:9:24: error: ‘A’ was not declared in this scope
     scanf("%d%d%d%d", &A, &B, &X, &Y);
                        ^
Main.cc:9:28: error: ‘B’ was not declared in this scope
     scanf("%d%d%d%d", &A, &B, &X, &Y);
                            ^
Main.cc:9:32: error: ‘X’ was not declared in this scope
     scanf("%d%d%d%d", &A, &B, &X, &Y);
                                ^
Main.cc:9:36: error: ‘Y’ was not declared in this scope
     scanf("%d%d%d%d", &A, &B, &X, &Y);
                                    ^