Problem dyingpolynomial
User god
Submission Time 2025-06-19 15:40:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:15:12: error: ‘guess’ was not declared in this scope
15 | if( (w*(guess**3)) + (x*(guess**2)) + (y*guess) < z) {
| ^~~~~
dyingpolynomial.cpp:15:19: error: invalid type argument of unary ‘*’ (have ‘int’)
15 | if( (w*(guess**3)) + (x*(guess**2)) + (y*guess) < z) {
| ^
dyingpolynomial.cpp:15:36: error: invalid type argument of unary ‘*’ (have ‘int’)
15 | if( (w*(guess**3)) + (x*(guess**2)) + (y*guess) < z) {
| ^
dyingpolynomial.cpp:21:11: error: ‘guess’ was not declared in this scope
21 | cout << guess << "\n";
| ^~~~~