Problem | pressstart |
---|---|
User | zyq69 |
Submission Time | 2025-01-22 15:40:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pressstart.cpp: In function ‘int32_t main()’:
pressstart.cpp:74:10: error: cannot bind non-const lvalue reference of type ‘long long int&’ to an rvalue of type ‘long long int’
74 | read(n);
| ^
pressstart.cpp:9:24: note: initializing argument 1 of ‘void read(long long int&)’
9 | inline void read(int & v) {
| ^
pressstart.cpp:75:10: error: cannot bind non-const lvalue reference of type ‘long long int&’ to an rvalue of type ‘long long int’
75 | read(q);
| ^
pressstart.cpp:9:24: note: initializing argument 1 of ‘void read(long long int&)’
9 | inline void read(int & v) {
| ^