Problem pressstart
User yeehaw
Submission Time 2023-12-21 22:02:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pressstart.cpp: In function ‘int32_t main()’:
pressstart.cpp:79:17: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
79 | read(c[i]);
| ~~~^
pressstart.cpp:5:24: note: initializing argument 1 of ‘void read(int&)’
5 | inline void read(int & v) {
| ~~~~~~^