0_0_25705597_3106.cpp: In function 'int main()': 0_0_25705597_3106.cpp:82:12: error: too many arguments to function 'void solve(int)' solve(1,n); ^ 0_0_25705597_3106.cpp:36:6: note: declared here void solve(int sx) ^