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 |
269708 |
Vũ Duy Sơn |
Luỹ thừa bậc 5 |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
543 |
2023-11-18 21:52:41 |
Lỗi biên dịch:
Main.cc: In function ‘int main()’:
Main.cc:20:18: error: expected ‘;’ before ‘<=’ token
for(int i=1,i<=T,i++)
^~
Main.cc:20:18: error: expected primary-expression before ‘<=’ token
Main.cc:20:25: error: expected ‘;’ before ‘)’ token
for(int i=1,i<=T,i++)
^
Main.cc: In function ‘void nhap(float*, int)’:
Main.cc:10:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f",&a[i]);
~~~~~^~~~~~~~~~~~
Main.cc: In function ‘int main()’:
Main.cc:18:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
~~~~~^~~~~~~~~