0_0_26035451_13279.cpp: In function 'int main()': 0_0_26035451_13279.cpp:80:34: error: 'g' was not declared in this scope while (n >= 2 && (B < gx[g][0] || C < gx[g][1])) --n; ^