Problem parallelogramisation
User vadar2525
Submission Time 2025-08-18 16:30:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation.cpp: In function ‘int main()’:
parallelogramisation.cpp:17:6: error: request for member ‘push_back’ in ‘a’, which is of non-class type ‘long long int [n]’
17 | a.push_back(x);
| ^~~~~~~~~
parallelogramisation.cpp:20:6: error: request for member ‘pop_back’ in ‘a’, which is of non-class type ‘long long int [n]’
20 | a.pop_back();
| ^~~~~~~~
parallelogramisation.cpp:23:14: error: request for member ‘front’ in ‘a’, which is of non-class type ‘long long int [n]’
23 | cout << a.front();
| ^~~~~
parallelogramisation.cpp:24:6: error: request for member ‘pop_front’ in ‘a’, which is of non-class type ‘long long int [n]’
24 | a.pop_front();
| ^~~~~~~~~
parallelogramisation.cpp:26:1: error: expected ‘}’ at end of input
26 | }
| ^
parallelogramisation.cpp:5:15: note: to match this ‘{’
5 | signed main() {
| ^