Mã chấm |
Tài khoản |
Bài tập |
Ngôn ngữ lập trình |
Trạng thái |
Thời gian |
Bộ nhớ |
Kích thước |
Thời gian nộp |
268598 |
Trần Quốc Việt |
Luỹ thừa bậc 5 |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
543 |
2023-11-18 20:24:09 |
Lỗi biên dịch:
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);
~~~~~^~~~~~~~~~~