| Problem | maximumtriangle | 
|---|---|
| User | LCJLY | 
| Submission Time | 2023-12-27 10:57:31 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 maximumtriangle.cpp: In function ‘void solve()’:
maximumtriangle.cpp:67:7: error: cannot bind non-const lvalue reference of type ‘int32_t&’ {aka ‘int&’} to an rvalue of type ‘int32_t’ {aka ‘int’}
   67 |  read(n);
      |       ^
maximumtriangle.cpp:49:28: note:   initializing argument 1 of ‘void read(int32_t&)’
   49 | inline void read(int32_t & v) {
      |                  ~~~~~~~~~~^
maximumtriangle.cpp:71:13: error: cannot bind non-const lvalue reference of type ‘int32_t&’ {aka ‘int&’} to an rvalue of type ‘int32_t’ {aka ‘int’}
   71 |   read(arr[x]);
      |        ~~~~~^
maximumtriangle.cpp:49:28: note:   initializing argument 1 of ‘void read(int32_t&)’
   49 | inline void read(int32_t & v) {
      |                  ~~~~~~~~~~^