0_0_38913371_10759.cpp: In function 'void solve()':
0_0_38913371_10759.cpp:25:10: error: cannot bind non-const lvalue reference of type 'long long int&' to a value of type 'int'
25 | read(n);
| ^
0_0_38913371_10759.cpp:12:29: note: initializing argument 1 of 'void read(long long int&)'
12 | inline void read(long long &sum) {
| ~~~~~~~~~~~^~~
0_0_38913371_10759.cpp:26:35: error: cannot bind non-const lvalue reference of type 'long long int&' to a value of type 'int'
26 | for(int i=1;i<=n;i++) read(a[i]);
| ~~~^
0_0_38913371_10759.cpp:12:29: note: initializing argument 1 of 'void read(long long int&)'
12 | inline void read(long long &sum) {
| ~~~~~~~~~~~^~~
|