Problem | hackthectf |
---|---|
User | PlayVoltz |
Submission Time | 2023-11-24 17:16:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
hackthectf.cpp: In function ‘int32_t main()’:
hackthectf.cpp:23:7: error: cannot bind non-const lvalue reference of type ‘long long int&’ to an rvalue of type ‘long long int’
23 | read(n), read(k);
| ^
hackthectf.cpp:9:23: note: initializing argument 1 of ‘void read(long long int&)’
9 | inline void read(int& x) {
| ^
hackthectf.cpp:23:16: error: cannot bind non-const lvalue reference of type ‘long long int&’ to an rvalue of type ‘long long int’
23 | read(n), read(k);
| ^
hackthectf.cpp:9:23: note: initializing argument 1 of ‘void read(long long int&)’
9 | inline void read(int& x) {
| ^