4-amaliyot ishi mavzu: stack,queue,dequeue(stek,navbat,dek) 714-21 guruh talabasi Matyoqubov Yusufboy
Matyoqubov
- Bu sahifa navigatsiya:
- DASTUR KODI include include using namespace std; void show(queue q) { queue q1 = q;
- queue q1 = q; int maxn = q1.front(); while (!q1.empty()) { if(maxn maxn = q1.front(); }
- while (!q.empty()) { q1.push(q.front()); if(q.front() == maxn) { q1.push(x); } q.pop(); }
- cout show(a); cout queue b = task(a, 3); cout show(b);
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling