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 |
465933 |
Anh - Vũ
|
ĐIỂM SỐ |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
1322 |
2024-05-24 14:50:38 |
Lỗi biên dịch:
Main.cc:60:5: error: redefinition of ‘int main()’
60 | int main()
| ^~~~
Main.cc:32:5: note: ‘int main()’ previously defined here
32 | int main()
| ^~~~
Main.cc: In function ‘int main()’:
Main.cc:36:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
36 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
Main.cc:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
39 | scanf("%d", &arr1[i]);
| ~~~~~^~~~~~~~~~~~~~~~
Main.cc:42:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
42 | scanf("%d", &m);
| ~~~~~^~~~~~~~~~
Main.cc:45:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | scanf("%d", &arr2[j]);
| ~~~~~^~~~~~~~~~~~~~~~
Main.cc: In function ‘int main()’:
Main.cc:64:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
64 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
Main.cc:67:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
67 | scanf("%d", &arr1[i]);
| ~~~~~^~~~~~~~~~~~~~~~
Main.cc:70:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
70 | scanf("%d", &m);
| ~~~~~^~~~~~~~~~
Main.cc:73:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
73 | scanf("%d", &arr2[j]);
| ~~~~~^~~~~~~~~~~~~~~~