Problem dyingpolynomial
User varsh05442
Submission Time 2025-06-19 15:31:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:16:35: error: ‘J’ was not declared in this scope
16 | if (((A*j*j*j)+(B*j*j)+(C*J))>=D) {
| ^
dyingpolynomial.cpp:17:18: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘long long int’)
17 | cout >> j;
| ~~~~ ^~ ~
| | |
| | long long int
| std::ostream {aka std::basic_ostream<char>}
dyingpolynomial.cpp:17:18: note: candidate: ‘operator>>(int, long long int)’ <built-in>
17 | cout >> j;
| ~~~~~^~~~
dyingpolynomial.cpp:17:18: 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++