Problem dyingpolynomial
User bh14
Submission Time 2023-03-10 16:33:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:8:25: error: redeclaration of ‘long long int b’
8 | long long a,b,c,b;
| ^
dyingpolynomial.cpp:8:21: note: ‘long long int b’ previously declared here
8 | long long a,b,c,b;
| ^
dyingpolynomial.cpp:9:12: error: expected ‘;’ before ‘a’
9 | cin a>>b>>c>>d
| ^~
| ;
dyingpolynomial.cpp:11:15: error: ‘l’ was not declared in this scope
11 | while(l <= r){
| ^
dyingpolynomial.cpp:11:20: error: ‘r’ was not declared in this scope
11 | while(l <= r){
| ^
dyingpolynomial.cpp:13:53: error: ‘d’ was not declared in this scope
13 | if(a*mid*mid*mid + b*mid*mid + c*mid >= d){
| ^
dyingpolyn