| Problem | quillvsowl |
|---|---|
| User | shenshiqi |
| Submission Time | 2026-05-06 16:02:11 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
quillvsowl.cpp: In function ‘int main()’:
quillvsowl.cpp:38:8: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
38 | read(n); read(m); read(k); read(h); read(l);
| ^
quillvsowl.cpp:8:23: note: initializing argument 1 of ‘void read(int&)’
8 | inline void read(int& x) {
| ~~~~~^
quillvsowl.cpp:38:17: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
38 | read(n); read(m); read(k); read(h); read(l);
| ^
quillvsowl.cpp:8:23: note: initializing argument 1 of ‘void read(int&)’
8 | inline void read(int& x) {
| ~~~~~^
quillvsowl.cpp:38:26: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
38 | read(n); read(m); read(k); read(h); read(l);
| ^
quillvsowl.cpp:8:23: note: initializing argument 1 of