Problem mindeque
User CKCodeBreaker55
Submission Time 2024-12-14 09:57:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mindeque.cpp: In function ‘int main()’:
mindeque.cpp:8:27: error: expected initializer before ‘==’ token
8 | int Q, a, x, min_element == 99999999999999999999999999999999999999999999999;
| ^~
mindeque.cpp:19:40: error: ‘dq’ was not declared in this scope; did you mean ‘d’?
19 | min_element = std::min(min_element, dq.back());
| ^~
| d
mindeque.cpp:29:40: error: ‘dq’ was not declared in this scope; did you mean ‘d’?
29 | min_element = std::min(min_element, dq.back());
| ^~
| d
mindeque.cpp:37:9: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
37 | cout << min_element << "\n";
| ~~~~~