5-Amaliy ish N ta elementi bor deque navbati berilgan. Navbatning orqa tomoniga x element qo'shilsin. #include #include using namespace std; int main(){ int n; cin>>n; int k,k1; dequea; for (int i=0; i cin>>k; a.push_back(k); } int x; cin>>x; a.push_back(x); while (!a.empty()){ cout< a.pop_back(); } }