Mã chấm: 13668


Main.c: In function ‘main’:
Main.c:9:18: error: expected ‘)’ before ‘and’
     }while (a<=0 and b<=0 and c<=0 and x<=0 and a>1000000 and b>1000000 and c>1000000 and x>1000000)
                  ^~~
Main.c:10:4: error: expected ‘;’ before ‘int’
    int x2 = pow(x,2);
    ^~~
Main.c:11:15: error: ‘x2’ undeclared (first use in this function); did you mean ‘x’?
    int fx = a*x2+b*x+c;
               ^~
               x
Main.c:11:15: note: each undeclared identifier is reported only once for each function it appears in
Main.c:8:4: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d %d %d %d", &a,&b,&c,&x);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~