Problem parallelogramisation
User carson
Submission Time 2026-02-17 13:40:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation.cpp: In function ‘int main()’:
parallelogramisation.cpp:8:18: error: expected primary-expression before ‘<=’ token
8 | for(int i = 1; <= q; i ++){
| ^~
parallelogramisation.cpp:13:6: error: request for member ‘push_back’ in ‘a’, which is of non-class type ‘long long int’
13 | a.push_back(b);
| ^~~~~~~~~
parallelogramisation.cpp:16:6: error: request for member ‘pop_back’ in ‘a’, which is of non-class type ‘long long int’
16 | a.pop_back();
| ^~~~~~~~
parallelogramisation.cpp:19:15: error: invalid types ‘long long int[int]’ for array subscript
19 | cout << a[0] << "\n";
| ^
parallelogramisation.cpp:20:6: error: request for member ‘pop_front’ in ‘a’, which is of non-class type ‘long long int’
20 | a.pop_front();
| ^~~~~~~~~