prog.cpp:2:13: error: variable or field ‘getAns’ declared void
void getAns(vector<string> & arr, vector<vector<int>> &queries){
^~~~~~
prog.cpp:2:13: error: ‘vector’ was not declared in this scope
prog.cpp:2:20: error: ‘string’ was not declared in this scope
void getAns(vector<string> & arr, vector<vector<int>> &queries){
^~~~~~
prog.cpp:2:20: note: suggested alternative: ‘struct’
void getAns(vector<string> & arr, vector<vector<int>> &queries){
^~~~~~
struct
prog.cpp:2:30: error: ‘arr’ was not declared in this scope
void getAns(vector<string> & arr, vector<vector<int>> &queries){
^~~
prog.cpp:2:35: error: ‘vector’ was not declared in this scope
void getAns(vector<string> & arr, vector<vector<int>> &queries){
^~~~~~
prog.cpp:2:42: error: ‘vector’ was not declared in this scope
void getAns(vector<string> & arr, vector<vector<int>> &queries){
^~~~~~
prog.cpp:2:49: error: expected primary-expression before ‘int’
void getAns(vector<string> & arr, vector<vector<int>> &queries){
^~~