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