0_0_38319808_11666.cpp: In function 'll duvalSolve(int)': 0_0_38319808_11666.cpp:43:14: error: 'ans' was not declared in this scope if(k==i+1) ans[k]=k; ^