Problem | conductslip |
---|---|
User | asbx |
Submission Time | 2024-01-01 10:27:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
conductslip.cpp: In function ‘int main()’:
conductslip.cpp:43:14: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
43 | fastscan(c);
| ^
conductslip.cpp:25:20: note: initializing argument 1 of ‘void fastscan(int&)’
25 | void fastscan(int &number)
| ~~~~~^~~~~~
conductslip.cpp:44:14: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
44 | fastscan(l);
| ^
conductslip.cpp:25:20: note: initializing argument 1 of ‘void fastscan(int&)’
25 | void fastscan(int &number)
| ~~~~~^~~~~~
conductslip.cpp:45:14: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
45 | fastscan(k);
| ^
conductslip.cpp:25:20: note: initializing argument 1 of ‘void fastscan(int&)’
25 | void fastscan(int &number)
|