0_0_33301101_22371.cpp: In function 'int main()': 0_0_33301101_22371.cpp:29:10: error: 'g' was not declared in this scope f[0]=1,g[n+1]=1,ans=-1; ^