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 |
99134 |
Tích phân
|
LỰA CHỌN ĐỘI TUYỂN ICPC |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
843 |
2023-05-26 15:17:14 |
Lỗi biên dịch:
Main.cc: In function ‘int chiadoi(int (*)[100], int, int, int*)’:
Main.cc:48:2: error: expected ‘;’ before ‘}’ token
}
^
Main.cc:39:6: warning: unused variable ‘sd’ [-Wunused-variable]
int sd=N/K;
^~
Main.cc: In function ‘void nhap(int&, int&, int*)’:
Main.cc:9:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~
Main.cc: In function ‘int main()’:
Main.cc:58:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
~~~~~^~~~~~~~~~~~~~