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