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
13578 Kwon Sang Thuận Tính giá trị hàm f(x) C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 210 2022-12-29 19:35:49

Lỗi biên dịch:

Main.c: In function ‘main’:
Main.c:6:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
   if(a,b,c,x>=0 and a,b,c,x=0 and a,b,c,x=0 and a,b,c,x=0 and a,b,c,x’ or provide a declaration of ‘pow’
Main.c:12:3: error: ‘end’ undeclared (first use in this function)
   end
   ^~~
Main.c:12:3: note: each undeclared identifier is reported only once for each function it appears in
Main.c:13:1: error: expected ‘;’ before ‘}’ token
 }
 ^
Main.c:8:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
      scanf("%d %d %d %d", &a, &b, &c, &x);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~