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 |
268798 |
Phạm Quang Nghĩa |
Luỹ thừa bậc 5 |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
518 |
2023-11-18 20:37:17 |
Lỗi biên dịch:
Main.cc: In function ‘int main()’:
Main.cc:25:5: error: expected ‘;’ before ‘return’
return 0;
^~~~~~
Main.cc:8:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
Main.cc:10:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~