Problem | change |
---|---|
User | Sandarach151 |
Submission Time | 2023-01-10 14:47:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
change.cpp: In function ‘int main()’:
change.cpp:33:21: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
33 | int temp = func(a-d*10, a, b, c);
| ~^~~~~
change.cpp:4:15: note: initializing argument 1 of ‘int func(int&, int&, int&, int&)’
4 | int func(int &x, int &a, int &b, int &c){
| ~~~~~^