Problem scalars
User ChickenCoder
Submission Time 2023-08-14 00:29:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

scalars.cpp: In function ‘int main()’:
scalars.cpp:14:15: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
14 | for (int& c: a) cin >> c;
| ^
scalars.cpp:15:15: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
15 | for (int& c: b) cin >> c;
| ^