Mã chấm: 13677


Main.c: In function ‘main’:
Main.c:9:17: 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 d = pow(x,2);
    ^~~
Main.c:11:15: error: ‘d’ undeclared (first use in this function)
    int fx = a*d+b*x+c;
               ^
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);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~