Problem dyingpolynomial
User JhoCyber
Submission Time 2024-12-22 15:06:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:14:28: error: ‘J’ was not declared in this scope
14 | while ((value =a*j*J*j+b*j*j+cj)>=d){
| ^
dyingpolynomial.cpp:14:38: error: ‘cj’ was not declared in this scope; did you mean ‘j’?
14 | while ((value =a*j*J*j+b*j*j+cj)>=d){
| ^~
| j
dyingpolynomial.cpp:17:14: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘int’)
17 | cout >> j;
| ~~~~ ^~ ~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
dyingpolynomial.cpp:17:14: note: candidate: ‘operator>>(int, int)’ <built-in>
17 | cout >> j;
| ~~~~~^~~~
dyingpolynomial.cpp: