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