0_0_37863578_27066.cpp: In function 'void dfs(int&, int&)':
0_0_37863578_27066.cpp:22:12: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
dfs(l,t-1);
^
0_0_37863578_27066.cpp:15:6: note: in passing argument 2 of 'void dfs(int&, int&)'
void dfs(int &l,int &r)
^
0_0_37863578_27066.cpp: In function 'void solve()':
0_0_37863578_27066.cpp:50:14: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
dfs(1,t-1);
^
0_0_37863578_27066.cpp:15:6: note: in passing argument 1 of 'void dfs(int&, int&)'
void dfs(int &l,int &r)
^
0_0_37863578_27066.cpp:51:12: error: invalid initialization of reference of type 'int&' from expression of type 'll {aka long long int}'
dfs(t,n);
^
0_0_37863578_27066.cpp:15:6: note: in passing argument 2 of 'void dfs(int&, int&)'
void dfs(int &l,int &r)
^
|