Problem parallelogramisation
User shoryu386
Submission Time 2023-12-12 20:49:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation.cpp: In function ‘int main()’:
parallelogramisation.cpp:7:13: error: conflicting declaration ‘std::queue<long long int> q’
7 | queue<int> q;
| ^
parallelogramisation.cpp:6:6: note: previous declaration as ‘long long int q’
6 | int q; cin >> q;
| ^
parallelogramisation.cpp:13:6: error: request for member ‘push_back’ in ‘q’, which is of non-class type ‘long long int’
13 | q.push_back(val);
| ^~~~~~~~~
parallelogramisation.cpp:19:14: error: request for member ‘front’ in ‘q’, which is of non-class type ‘long long int’
19 | cout << q.front() << '\n';
| ^~~~~
parallelogramisation.cpp:20:4: error: ‘dq’ was not declared in this scope; did you mean ‘q’?
20 | dq.pop();
| ^~
| q