0_0_21283829_16272.cpp: In function 'int solve1()': 0_0_21283829_16272.cpp:103:30: error: 'y' was not declared in this scope for(int i=1;i<childs[y];++i) ^