| Problem | rating | 
|---|---|
| User | Shadow1 | 
| Submission Time | 2024-04-07 21:36:21 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 rating.cpp: In function ‘void solve()’:
rating.cpp:46:7: error: cannot bind non-const lvalue reference of type ‘long long int&’ to an rvalue of type ‘long long int’
   46 |  read(n);
      |       ^
rating.cpp:34:29: note:   initializing argument 1 of ‘void read(long long int&)’
   34 | inline void read(long long &x) {
      |                  ~~~~~~~~~~~^
rating.cpp:49:12: error: cannot bind non-const lvalue reference of type ‘long long int&’ to an rvalue of type ‘long long int’
   49 |   read(a[i]);
      |            ^
rating.cpp:34:29: note:   initializing argument 1 of ‘void read(long long int&)’
   34 | inline void read(long long &x) {
      |                  ~~~~~~~~~~~^