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 |
99425 |
Chill With Codes
|
LỰA CHỌN ĐỘI TUYỂN ICPC |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
836 |
2023-05-26 15:39:18 |
Lỗi biên dịch:
Main.cc:50:8: error: expected constructor, destructor, or type conversion before ‘(’ token
printf("%d", hs);
^
Main.cc:52:1: error: expected declaration before ‘}’ token
}
^
Main.cc: In function ‘int main()’:
Main.cc:37:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&sv,&doi);
~~~~~^~~~~~~~~~~~~~~~~
Main.cc:39:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
~~~~~^~~~~~~~~~~~~