prog.cpp:3:25: error: ‘vector’ has not been declared
void pushZerosToEnd(vector<int>& a)
^~~~~~
prog.cpp:3:31: error: expected ‘,’ or ‘...’ before ‘<’ token
void pushZerosToEnd(vector<int>& a)
^
prog.cpp: In member function ‘void Solution::pushZerosToEnd(int)’:
prog.cpp:6:17: error: ‘a’ was not declared in this scope
int n = a.size();
^
prog.cpp:15:17: error: ‘swap’ was not declared in this scope
swap(a[i], a[j]);
^~~~