Mã chấm: 268972
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); ~~~~~^~~~~~~~~~