Problem crypto
User Tqin
Submission Time 2025-02-21 15:13:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

crypto.cpp: In function ‘int main()’:
crypto.cpp:33:7: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
33 | read(N);
| ^
crypto.cpp:18:23: note: initializing argument 1 of ‘void read(int&)’
18 | inline void read(int& x) {
| ~~~~~^
crypto.cpp:43:18: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
43 | ll input; read(input);
| ^~~~~
crypto.cpp:18:23: note: initializing argument 1 of ‘void read(int&)’
18 | inline void read(int& x) {
| ~~~~~^