Problem uniquenumbers
User Astronite
Submission Time 2025-01-08 16:48:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:19:8: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
19 | read(a);
| ^
uniquenumbers.cpp:3:23: note: initializing argument 1 of ‘void read(int&)’
3 | inline void read(int& x){
| ~~~~~^