Problem dyingpolynomial
User JhoCyber
Submission Time 2024-12-22 15:07:01
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+c*j)>=d){
| ^
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:17:14: note: no known conversion for argument 1 from ‘std::ostream’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from dyingpolynomial.cpp:1:
/usr