0_0_33562583_3241.cpp: In function 'void dfs(int, int, ll)': 0_0_33562583_3241.cpp:36:9: error: 'leaf' was not declared in this scope leaf = 0; ^