Anna.cpp: In function 'void Anna(int, long long int, int, int*)':
Anna.cpp:10:2: error: 'vector' was not declared in this scope
vector<int> vt;
^
Anna.cpp:10:2: note: suggested alternative:
In file included from /usr/include/c++/5/vector:64:0,
from Anna.cpp:3:
/usr/include/c++/5/bits/stl_vector.h:214:11: note: 'std::vector'
class vector : protected _Vector_base<_Tp, _Alloc>
^
Anna.cpp:10:9: error: expected primary-expression before 'int'
vector<int> vt;
^
Anna.cpp:11:2: error: 'stack' was not declared in this scope
stack<int> st;
^
Anna.cpp:11:2: note: suggested alternative:
In file included from /usr/include/c++/5/stack:61:0,
from Anna.cpp:2:
/usr/include/c++/5/bits/stl_stack.h:99:11: note: 'std::stack'
class stack
^
Anna.cpp:11:8: error: expected primary-expression before 'int'
stack<int> st;
^
Anna.cpp:17:3: error: 'st' was not declared in this scope
st.push(X2%2);
^
Anna.cpp:32:4: error: 'vt' was not declared in this scope
vt.push(i);
^