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 |
340703 |
Lê Đức Anh |
DÃY CON MA THUẬT |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
1661 |
2024-01-05 00:24:31 |
Lỗi biên dịch:
Main.cc:62:5: error: redefinition of ‘int main()’
62 | int main() {
| ^~~~
Main.cc:27:5: note: ‘int main()’ previously defined here
27 | int main() {
| ^~~~
Main.cc: In function ‘int main()’:
Main.cc:30:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
30 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
Main.cc:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
31 | for(int i=0; i