Deutsch
Telegram

Nachricht #include <iostream>

23. April 2023
G
#include <iostream> #include <list> using namespace std; int funk(const list<int>& lst) { if (lst.size() >= 2) { auto it = lst.begin(); ++it; return *it; } else { cout << "Ro'yxat kamida ikkita elementga ega bo'lishi kerak!" << endl; return -1; } } int main() { list<int> my_list = { 3, 7, 1, 9, 8, 5, 1 }; cout << "Ro'yxat: "; for (auto elem : my_list) { cout << elem << " "; } cout << endl; int ikki = funk(my_list); if (ikki != -1) { cout << "Ikkinchi element: " << ikki << endl; } return 0; }

In der Nähe im Feed

GGelöschtes Konto#include <iostream> using namespace std; namespace choynakpiyola { class Choynak { private: string model; string rangi; int yili; double Narxi; puGGelöschtes Konto6.Ro‘yxatning ikkinchi elementiga ko‘rsatkich qaytaruvchi funksiya yozing.
diese Nachricht
GGelöschtes Konto6.Deque max va min elementlari o’chirilsin.GGelöschtes Konto#include <bits/stdc++.h> #include <deque> using namespace std; int main() { deque<int> my_deque = { 5, 3, 8, 1, 7, 2 }; cout << "Berilgan elementlar: "; for (au
CC++ vs PythonC++ vs Python@cpp_vs_python · Gruppe · Technik
114Mitglieder39 409Nachrichten im Index
Community-Feed In Telegram öffnen

Ein offener öffentlicher Feed aus dem Suchindex ChatCrawler — „Google für das öffentliche Telegram“; wird aktualisiert, während die Community gecrawlt wird. Zeiten in UTC.

Nur öffentliche Inhalte, offizielle Telegram-API. Über uns · FAQ · Grenzen des Index · Seite entfernen · Katalog · Suche · So zählen wir