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 |
270868 |
Nguyễn Tiến Thịnh |
Luỹ thừa bậc 5 |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
646 |
2023-11-20 17:26:33 |
Lỗi biên dịch:
Main.cc: In function ‘int main()’:
Main.cc:16:13: error: expected identifier before ‘:’ token
goto:pass;
^
Main.cc:16:13: error: expected ‘;’ before ‘:’ token
Main.cc:16:13: error: expected primary-expression before ‘:’ token
Main.cc:20:25: error: expected identifier before ‘:’ token
goto:pass;
^
Main.cc:20:25: error: expected ‘;’ before ‘:’ token
Main.cc:20:25: error: expected primary-expression before ‘:’ token
Main.cc:24:25: error: expected identifier before ‘:’ token
goto:pass;
^
Main.cc:24:25: error: expected ‘;’ before ‘:’ token
Main.cc:24:25: error: expected primary-expression before ‘:’ token
Main.cc:27:13: warning: label ‘pass’ defined but not used [-Wunused-label]
pass :
^~~~
Main.cc:8:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
~~~~~^~~~~~~~~
Main.cc:11:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~