0_0_21718360_23788.cpp: In function 'void prepare()': 0_0_21718360_23788.cpp:76:33: error: 'G' was not declared in this scope for(int i = 0; i <= n; i++) G[i].clear(); ^