Problem parallelogramisation2
User WangZhenxuan
Submission Time 2025-06-17 10:33:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation2.cpp: In function ‘int main()’:
parallelogramisation2.cpp:8:19: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
8 | for (int &x : A) cin >> x;
| ^
parallelogramisation2.cpp:9:19: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
9 | for (int &x : B) cin >> x;
| ^