game.cpp:3:1: error: 'vector' does not name a type; did you mean 'wctob'?
vector<int> ans(0);
^~~~~~
wctob
game.cpp: In function 'void initialize(int)':
game.cpp:6:2: error: 'ans' was not declared in this scope
ans.resize(n);
^~~
game.cpp:6:2: note: suggested alternative: 'abs'
ans.resize(n);
^~~
abs
game.cpp: In function 'int hasEdge(int, int)':
game.cpp:19:12: error: 'ans' was not declared in this scope
return ans[counter-1];
^~~
game.cpp:19:12: note: suggested alternative: 'abs'
return ans[counter-1];
^~~
abs