Problem | dyingpolynomial |
---|---|
User | AustinPi |
Submission Time | 2024-05-18 11:24:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:12:23: error: expected ‘;’ before ‘if’
12 | test = (low+high)/2
| ^
| ;
13 | if (a*mid*mid*mid+*mid*mid+c*mid>=d) {
| ~~
dyingpolynomial.cpp:15:6: error: ‘else’ without a previous ‘if’
15 | } else {
| ^~~~
dyingpolynomial.cpp:16:12: error: ‘mid’ was not declared in this scope
16 | low=mid+1;
| ^~~
dyingpolynomial.cpp:18:12: error: ‘lo’ was not declared in this scope; did you mean ‘low’?
18 | cout << lo << "\n";
| ^~
| low