Problem hallucinations
User Username101
Submission Time 2025-06-18 10:04:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hallucinations.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
hallucinations.cpp: In function ‘int main()’:
hallucinations.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> n;
| ^~~
hallucinations.cpp:7:5: error: ‘deque’ was not declared in this scope
7 | deque<int>dq;
| ^~~~~
hallucinations.cpp:7:11: error: expected primary-expression before ‘int’
7 | deque<int>dq;
| ^~~
hallucinations.cpp:11:13: error: ‘dq’ was not declared in this scope
11 | if (dq.empty()) {
| ^~
hallucinations.cpp:16:9: error: ‘cout’ was not declared in this scope
16 | cout << dq.back() << " ";
| ^~~~
hallucinations.cpp:16:17: error: ‘dq’ was not declared in this scope
16 | cout << dq.back() << " ";
|