Mã chấm: 269655
Main.cc: In function ‘int main()’: Main.cc:26:12: error: cannot convert ‘int*’ to ‘const char*’ for argument ‘1’ to ‘size_t strlen(const char*)’ n=strlen(s); ^ Main.cc: In function ‘void nhapN(int&)’: Main.cc:15:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ~~~~~^~~~~~~~~ Main.cc: In function ‘void nhapMang(int*, int)’: Main.cc:20:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&s[i]); ~~~~~^~~~~~~~~~~~