Problem dyingpolynomial
User Henries
Submission Time 2024-11-17 17:46:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘void bsearch()’:
dyingpolynomial.cpp:10:7: error: ‘a’ was not declared in this scope
10 | if (a*mid*mid*mid + b * mid * mid + c * mid >= d){
| ^
dyingpolynomial.cpp:10:23: error: ‘b’ was not declared in this scope; did you mean ‘ub’?
10 | if (a*mid*mid*mid + b * mid * mid + c * mid >= d){
| ^
| ub
dyingpolynomial.cpp:10:39: error: ‘c’ was not declared in this scope
10 | if (a*mid*mid*mid + b * mid * mid + c * mid >= d){
| ^
dyingpolynomial.cpp:10:50: error: ‘d’ was not declared in this scope
10 | if (a*mid*mid*mid + b * mid * mid + c * mid >= d){
| ^
dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:30:18: error: no matching function for call to ‘bsearch(long long int&, long long int&, long long