Mã chấm: 629347
Main.cc: In function ‘void NhapMang(int*, int)’: Main.cc:8:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%d", &a[i]); | ~~~~~^~~~~~~~~~~~~ Main.cc: In function ‘int main()’: Main.cc:42:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 42 | scanf("%d", &n); | ~~~~~^~~~~~~~~~