0_0_32905499_23840.cpp: In function 'int main()': 0_0_32905499_23840.cpp:18:32: error: 'cnt' was not declared in this scope cout<<"Case "<<i<<" "<<dfs(0,cnt-1)<<endl; ^