Problem dyingpolynomial
User dieunq1309
Submission Time 2023-09-24 22:14:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:9:9: error: ‘q’ was not declared in this scope
9 | cin >> q;
| ^
dyingpolynomial.cpp:11:7: error: no match for ‘operator>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘long long int’)
11 | cin > a >> b >> c >> d;
| ~~~ ^ ~~~~~~~~~~~~~~~~
| | |
| | long long int
| std::istream {aka std::basic_istream<char>}
dyingpolynomial.cpp:11:7: note: candidate: ‘operator>(int, long long int)’ <built-in>
11 | cin > a >> b >> c >> d;
| ~~~~^~~~~~~~~~~~~~~~~~
dyingpolynomial.cpp:11:7: note: no known conversion for argument 1 from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/