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
99062 LUFFI LỰA CHỌN ĐỘI TUYỂN ICPC C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 778 2023-05-26 15:11:23

Lỗi biên dịch:

Main.cc: In function ‘int main()’:
Main.cc:28:30: error: too many arguments to function ‘void ignore_ret()’
     ignore_ret(scanf("%d",&n));
                              ^
Main.cc:2:20: note: declared here
 static inline void ignore_ret() {}
                    ^~~~~~~~~~
Main.cc:29:30: error: too many arguments to function ‘void ignore_ret()’
     ignore_ret(scanf("%d",&k));
                              ^
Main.cc:2:20: note: declared here
 static inline void ignore_ret() {}
                    ^~~~~~~~~~
Main.cc:32:12: error: ‘unused’ was not declared in this scope
            unused =  scanf("%d",&a[i]);
            ^~~~~~