Problem parallelogramisation2
User om2024
Submission Time 2025-07-03 16:40:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation2.cpp: In function ‘int main()’:
parallelogramisation2.cpp:23:20: error: request for member ‘push_back’ in ‘answer’, which is of non-class type ‘long long int’
23 | answer.push_back(parallelogramisation);
| ^~~~~~~~~
parallelogramisation2.cpp:27:17: error: request for member ‘begin’ in ‘answer’, which is of non-class type ‘long long int’
27 | sort(answer.begin(), answer.end(), greater<int>());
| ^~~~~
parallelogramisation2.cpp:27:33: error: request for member ‘end’ in ‘answer’, which is of non-class type ‘long long int’
27 | sort(answer.begin(), answer.end(), greater<int>());
| ^~~
parallelogramisation2.cpp:28:17: error: invalid types ‘long long int[int]’ for array subscript
28 | if (answer[1]==0) {
| ^
parallelogramisation2.cpp:30:28: error: invalid types ‘long long int[int]