Problem parallelogramisation2
User rachel9teh
Submission Time 2025-06-17 11:15:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation2.cpp: In function ‘int main()’:
parallelogramisation2.cpp:16:50: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator>’
16 | } else if (arr[i]*arry[j]-arr[j]*arry[i] > max) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
parallelogramisation2.cpp:17:17: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’
17 | max == arr[i]*arry[j]-arr[j]*arry[i];
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parallelogramisation2.cpp:19:48: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<’
19 | else if (arr[i]*arry[j]-arr[j]*arry[i] < max) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
parallelogramisation2.cpp:22:17: error: no match for ‘operator>>’ (operand types are ‘std::istrea