Problem dyingpolynomial
User NoobMugger420
Submission Time 2024-12-14 16:24:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:19:19: error: expected ‘;’ before ‘if’
19 | x = (hi + lo)/2
| ^
| ;
20 | if(A*x*x*x + B*x*x + C*x >= D) {
| ~~
dyingpolynomial.cpp:22:6: error: ‘else’ without a previous ‘if’
22 | } else {
| ^~~~