0_0_38065076_25959.cpp: In function 'void solve()': 0_0_38065076_25959.cpp:37:20: error: 'g' was not declared in this scope printf("%d\n", g[n]); ^