0_0_31067995_30209.cpp: In function 'void dfs(int&, int&, int&, int&, int&, int&)':
0_0_31067995_30209.cpp:30:21: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
dfs(v,jy,pp,cc,d+1,n);
^
0_0_31067995_30209.cpp:21:6: note: in passing argument 5 of 'void dfs(int&, int&, int&, int&, int&, int&)'
void dfs(int &v,int &jy,int &pp,int &cc,int &d,int &n)
^
0_0_31067995_30209.cpp:31:10: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
dfs(v|(1<<(d-1)),1ll*jy*(a[d].p-1)%mod, 1ll*pp*(a[d].p)%mod,1ll*cc*a[d].t%mod,d+1,n);
^
0_0_31067995_30209.cpp:21:6: note: in passing argument 1 of 'void dfs(int&, int&, int&, int&, int&, int&)'
void dfs(int &v,int &jy,int &pp,int &cc,int &d,int &n)
^
0_0_31067995_30209.cpp: In function 'int main()':
0_0_31067995_30209.cpp:52:24: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
dfs(0,1,1,1,1,n);
^
0_0_31067995_30209.cpp:21:6: note: in passing argument 1 of 'void dfs(int&, int&, int&, int&, int&, int&)'
void dfs(int &v,int &jy,int &pp,int &cc,int &d,int &n)
^
|