0_0_17910239_26698.cpp: In function 'int main()': 0_0_17910239_26698.cpp:82:19: error: too few arguments to function 'void solve(int, int, int)' solve(rt,n); ^ 0_0_17910239_26698.cpp:38:6: note: declared here void solve(int u,int gf,int n) ^