Mã chấm: 268598


Main.cc: In function ‘void luythua(int*, int)’:
Main.cc:15:13: error: expected primary-expression before ‘)’ token
         if ()
             ^
Main.cc:14:11: warning: unused variable ‘kq’ [-Wunused-variable]
     float kq = pow(a[i],k);
           ^~
Main.cc: In function ‘void arrayinput(int*, int)’:
Main.cc:8:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d ", &a[i]);
         ~~~~~^~~~~~~~~~~~~~
Main.cc: In function ‘int main()’:
Main.cc:23:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d ", &n);
     ~~~~~^~~~~~~~~~~