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