0_0_30383799_7987.cpp: In function 'int main()': 0_0_30383799_7987.cpp:11:18: error: 'ans' was not declared in this scope if(k==n||k==n-1)ans=0; ^