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 |
269236 |
Nguyễn Thành Đạt |
Luỹ thừa bậc 5 |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
377 |
2023-11-18 21:11:32 |
Lỗi biên dịch:
Main.cc: In function ‘int main()’:
Main.cc:9:59: error: expected ‘;’ before ‘cout’
((pow(a[i],1.0/5))==(round(pow(a[i],1.0/5)))) cout<<"YES"; else cout<<"NO"; break;}
^~~~
Main.cc:9:72: error: expected ‘}’ before ‘else’
((pow(a[i],1.0/5))==(round(pow(a[i],1.0/5)))) cout<<"YES"; else cout<<"NO"; break;}
^~~~
Main.cc:10:16: error: ‘i’ was not declared in this scope
if ((pow(a[i],1.0/5))==(round(pow(a[i],1.0/5)))) cout<<"YES\n"; else cout<<"NO\n";
^
Main.cc: At global scope:
Main.cc:12:5: error: expected unqualified-id before ‘return’
return 0;
^~~~~~
Main.cc:13:1: error: expected declaration before ‘}’ token
}
^