Mã chấm: 269318


Main.cc: In function ‘void nhapT(int&)’:
Main.cc:9:1: error: expected ‘;’ before ‘}’ token
 }
 ^
Main.cc: In function ‘void nhapchuoi(int*, int)’:
Main.cc:15:5: error: expected ‘;’ before ‘}’ token
     }
     ^
Main.cc: In function ‘void nhapT(int&)’:
Main.cc:8:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     do{scanf("%d" , &T );}while ( T <= 1 || T >=1000 )
        ~~~~~^~~~~~~~~~~~
Main.cc: In function ‘void nhapchuoi(int*, int)’:
Main.cc:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         do{scanf("%d" , &x[i] );}while ( T <= 0 )
            ~~~~~^~~~~~~~~~~~~~~