0_0_22236472_14198.cpp: In function 'int getans(int)': 0_0_22236472_14198.cpp:40:6: error: 'i' was not declared in this scope for(i=3;i<=n;i++) ^